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
-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
channelArn
SendChannelMessageRequest.Builder channelArn(String 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
SendChannelMessageRequest.Builder content(String 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
SendChannelMessageRequest.Builder type(String 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:
ChannelMessageType,ChannelMessageType
-
type
SendChannelMessageRequest.Builder type(ChannelMessageType 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:
ChannelMessageType,ChannelMessageType
-
persistence
SendChannelMessageRequest.Builder persistence(String 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:
ChannelMessagePersistenceType,ChannelMessagePersistenceType
-
persistence
SendChannelMessageRequest.Builder persistence(ChannelMessagePersistenceType 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:
ChannelMessagePersistenceType,ChannelMessagePersistenceType
-
metadata
SendChannelMessageRequest.Builder metadata(String 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
SendChannelMessageRequest.Builder clientRequestToken(String 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
SendChannelMessageRequest.Builder chimeBearer(String 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)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
SendChannelMessageRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-