Interface SendChannelMessageResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,ChimeSdkMessagingResponse.Builder
,CopyableBuilder<SendChannelMessageResponse.Builder,
,SendChannelMessageResponse> SdkBuilder<SendChannelMessageResponse.Builder,
,SendChannelMessageResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
SendChannelMessageResponse
@Mutable
@NotThreadSafe
public static interface SendChannelMessageResponse.Builder
extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<SendChannelMessageResponse.Builder,SendChannelMessageResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn
(String channelArn) The ARN of the channel.The ID string assigned to each message.The status of the channel message.status
(ChannelMessageStatusStructure status) The status of the channel message.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, responseMetadata
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
Methods 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 assigned to each message.
- Parameters:
messageId
- The ID string assigned to each message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the channel message.
- Parameters:
status
- The status of the channel message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
default SendChannelMessageResponse.Builder status(Consumer<ChannelMessageStatusStructure.Builder> status) The status of the channel message.
This is a convenience method that creates an instance of theChannelMessageStatusStructure.Builder
avoiding the need to create one manually viaChannelMessageStatusStructure.builder()
.When the
Consumer
completes,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.
-