Interface CreateMessageTemplateAttachmentRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateMessageTemplateAttachmentRequest.Builder,
,CreateMessageTemplateAttachmentRequest> QConnectRequest.Builder
,SdkBuilder<CreateMessageTemplateAttachmentRequest.Builder,
,CreateMessageTemplateAttachmentRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateMessageTemplateAttachmentRequest
-
Method Summary
Modifier and TypeMethodDescriptionThe body of the attachment file being uploaded.clientToken
(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.contentDisposition
(String contentDisposition) The presentation information for the attachment file.contentDisposition
(ContentDisposition contentDisposition) The presentation information for the attachment file.knowledgeBaseId
(String knowledgeBaseId) The identifier of the knowledge base.messageTemplateId
(String messageTemplateId) The identifier of the message template.The name of the attachment file being uploaded.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.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 Details
-
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
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.
-
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
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:
-
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.
-
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
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.
-
overrideConfiguration
CreateMessageTemplateAttachmentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateMessageTemplateAttachmentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-