Interface CreateMessageTemplateAttachmentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateMessageTemplateAttachmentRequest.Builder,CreateMessageTemplateAttachmentRequest>,QConnectRequest.Builder,SdkBuilder<CreateMessageTemplateAttachmentRequest.Builder,CreateMessageTemplateAttachmentRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateMessageTemplateAttachmentRequest
public static interface CreateMessageTemplateAttachmentRequest.Builder extends QConnectRequest.Builder, SdkPojo, CopyableBuilder<CreateMessageTemplateAttachmentRequest.Builder,CreateMessageTemplateAttachmentRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.qconnect.model.QConnectRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
body
CreateMessageTemplateAttachmentRequest.Builder body(String body)
The body of the attachment file being uploaded. It should be encoded using base64 encoding.
- Parameters:
body- The body of the attachment file being uploaded. It should be encoded using base64 encoding.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
CreateMessageTemplateAttachmentRequest.Builder clientToken(String clientToken)
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentDisposition
CreateMessageTemplateAttachmentRequest.Builder contentDisposition(String contentDisposition)
The presentation information for the attachment file.
- Parameters:
contentDisposition- The presentation information for the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentDisposition,ContentDisposition
-
contentDisposition
CreateMessageTemplateAttachmentRequest.Builder contentDisposition(ContentDisposition contentDisposition)
The presentation information for the attachment file.
- Parameters:
contentDisposition- The presentation information for the attachment file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ContentDisposition,ContentDisposition
-
knowledgeBaseId
CreateMessageTemplateAttachmentRequest.Builder knowledgeBaseId(String knowledgeBaseId)
The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.
- Parameters:
knowledgeBaseId- The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messageTemplateId
CreateMessageTemplateAttachmentRequest.Builder messageTemplateId(String messageTemplateId)
The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.
- Parameters:
messageTemplateId- The identifier of the message template. Can be either the ID or the ARN. It cannot contain any qualifier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
CreateMessageTemplateAttachmentRequest.Builder name(String name)
The name of the attachment file being uploaded. The name should include the file extension.
- Parameters:
name- The name of the attachment file being uploaded. The name should include the file extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateMessageTemplateAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateMessageTemplateAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-