Interface UpdateChannelMessageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<UpdateChannelMessageResponse.Builder,,UpdateChannelMessageResponse> SdkBuilder<UpdateChannelMessageResponse.Builder,,UpdateChannelMessageResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateChannelMessageResponse
@Mutable
@NotThreadSafe
public static interface UpdateChannelMessageResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<UpdateChannelMessageResponse.Builder,UpdateChannelMessageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel.The ID string of the message being updated.The status of the message update.status(ChannelMessageStatusStructure status) The status of the message update.subChannelId(String subChannelId) The ID of the SubChannel in the response.Methods inherited from interface software.amazon.awssdk.services.chimesdkmessaging.model.ChimeSdkMessagingResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
status
The status of the message update.
- Parameters:
status- The status of the message update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default UpdateChannelMessageResponse.Builder status(Consumer<ChannelMessageStatusStructure.Builder> status) The status of the message update.
This is a convenience method that creates an instance of theChannelMessageStatusStructure.Builderavoiding the need to create one manually viaChannelMessageStatusStructure.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(ChannelMessageStatusStructure).- Parameters:
status- a consumer that will call methods onChannelMessageStatusStructure.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subChannelId
The ID of the SubChannel in the response.
- Parameters:
subChannelId- The ID of the SubChannel in the response.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-