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) TheAppInstanceUserArn
of the user that makes the API call.clientRequestToken
(String clientRequestToken) TheIdempotency
token 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,STANDARD
orCONTROL
.type
(ChannelMessageType type) The type of message,STANDARD
orCONTROL
.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods 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,
STANDARD
orCONTROL
.- Parameters:
type
- The type of message,STANDARD
orCONTROL
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type of message,
STANDARD
orCONTROL
.- Parameters:
type
- The type of message,STANDARD
orCONTROL
.- 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
Idempotency
token for each client request.- Parameters:
clientRequestToken
- TheIdempotency
token for each client request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chimeBearer
The
AppInstanceUserArn
of the user that makes the API call.- Parameters:
chimeBearer
- TheAppInstanceUserArn
of 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.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
SendChannelMessageRequest.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.
-