Interface SendChannelMessageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,ChimeRequest.Builder,CopyableBuilder<SendChannelMessageRequest.Builder,,SendChannelMessageRequest> SdkBuilder<SendChannelMessageRequest.Builder,,SendChannelMessageRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
SendChannelMessageRequest
public static interface SendChannelMessageRequest.Builder
extends ChimeRequest.Builder, SdkPojo, CopyableBuilder<SendChannelMessageRequest.Builder,SendChannelMessageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel.chimeBearer(String chimeBearer) TheAppInstanceUserArnof the user that makes the API call.clientRequestToken(String clientRequestToken) TheIdempotencytoken for each client request.The content of the message.The optional metadata for each message.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.persistence(String persistence) Boolean that controls whether the message is persisted on the back end.persistence(ChannelMessagePersistenceType persistence) Boolean that controls whether the message is persisted on the back end.The type of message,STANDARDorCONTROL.type(ChannelMessageType type) The type of message,STANDARDorCONTROL.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.chime.model.ChimeRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
channelArn
The ARN of the channel.
- Parameters:
channelArn- The ARN of the channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the message.
- Parameters:
content- The content of the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The type of message,
STANDARDorCONTROL.- Parameters:
type- The type of message,STANDARDorCONTROL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of message,
STANDARDorCONTROL.- Parameters:
type- The type of message,STANDARDorCONTROL.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
persistence
Boolean that controls whether the message is persisted on the back end. Required.
- Parameters:
persistence- Boolean that controls whether the message is persisted on the back end. Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
persistence
Boolean that controls whether the message is persisted on the back end. Required.
- Parameters:
persistence- Boolean that controls whether the message is persisted on the back end. Required.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metadata
The optional metadata for each message.
- Parameters:
metadata- The optional metadata for each message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientRequestToken
The
Idempotencytoken for each client request.- Parameters:
clientRequestToken- TheIdempotencytoken for each client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chimeBearer
The
AppInstanceUserArnof the user that makes the API call.- Parameters:
chimeBearer- TheAppInstanceUserArnof the user that makes the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SendChannelMessageRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendChannelMessageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-