Interface SendMessageRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- ConnectParticipantRequest.Builder,- CopyableBuilder<SendMessageRequest.Builder,,- SendMessageRequest> - SdkBuilder<SendMessageRequest.Builder,,- SendMessageRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- SendMessageRequest
- 
Method SummaryModifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.connectionToken(String connectionToken) The authentication token associated with the connection.The content of the message.contentType(String contentType) The type of the content.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.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.services.connectparticipant.model.ConnectParticipantRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
contentTypeThe type of the content. Possible types are text/plain,text/markdown,application/json, andapplication/vnd.amazonaws.connect.message.interactive.response.Supported types on the contact are configured through SupportedMessagingContentTypeson StartChatContact and StartOutboundChatContact.For Apple Messages for Business, SMS, and WhatsApp Business Messaging contacts, only text/plainis supported.- Parameters:
- contentType- The type of the content. Possible types are- text/plain,- text/markdown,- application/json, and- application/vnd.amazonaws.connect.message.interactive.response.- Supported types on the contact are configured through - SupportedMessagingContentTypeson StartChatContact and StartOutboundChatContact.- For Apple Messages for Business, SMS, and WhatsApp Business Messaging contacts, only - text/plainis supported.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
contentThe content of the message. - 
 For text/plainandtext/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.
- 
 For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.
- 
 For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.
 - Parameters:
- content- The content of the message.- 
        For text/plainandtext/markdown, the Length Constraints are Minimum of 1, Maximum of 1024.
- 
        For application/json, the Length Constraints are Minimum of 1, Maximum of 12000.
- 
        For application/vnd.amazonaws.connect.message.interactive.response, the Length Constraints are Minimum of 1, Maximum of 12288.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
clientTokenA 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.
 
- 
connectionTokenThe authentication token associated with the connection. - Parameters:
- connectionToken- The authentication token associated with the connection.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
overrideConfigurationSendMessageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationSendMessageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-