Interface UpdateChannelMessageRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,ChimeSdkMessagingRequest.Builder
,CopyableBuilder<UpdateChannelMessageRequest.Builder,
,UpdateChannelMessageRequest> SdkBuilder<UpdateChannelMessageRequest.Builder,
,UpdateChannelMessageRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateChannelMessageRequest
public static interface UpdateChannelMessageRequest.Builder
extends ChimeSdkMessagingRequest.Builder, SdkPojo, CopyableBuilder<UpdateChannelMessageRequest.Builder,UpdateChannelMessageRequest>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the channel.chimeBearer
(String chimeBearer) The ARN of theAppInstanceUser
orAppInstanceBot
that makes the API call.The content of the channel message.contentType
(String contentType) The content type of the channel message.The ID string of the message being updated.The metadata of the message being updated.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.subChannelId
(String subChannelId) The ID of the SubChannel in the request.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingRequest.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.
-
messageId
The ID string of the message being updated.
- Parameters:
messageId
- The ID string of the message being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
content
The content of the channel message.
- Parameters:
content
- The content of the channel message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
The metadata of the message being updated.
- Parameters:
metadata
- The metadata of the message being updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
chimeBearer
The ARN of the
AppInstanceUser
orAppInstanceBot
that makes the API call.- Parameters:
chimeBearer
- The ARN of theAppInstanceUser
orAppInstanceBot
that makes the API call.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subChannelId
The ID of the SubChannel in the request.
Only required when updating messages in a SubChannel that the user belongs to.
- Parameters:
subChannelId
- The ID of the SubChannel in the request.Only required when updating messages in a SubChannel that the user belongs to.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentType
The content type of the channel message.
- Parameters:
contentType
- The content type of the channel message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateChannelMessageRequest.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
UpdateChannelMessageRequest.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.
-