Interface SendChannelMessageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<SendChannelMessageResponse.Builder,SendChannelMessageResponse>,SdkBuilder<SendChannelMessageResponse.Builder,SendChannelMessageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- SendChannelMessageResponse
public static interface SendChannelMessageResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<SendChannelMessageResponse.Builder,SendChannelMessageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description SendChannelMessageResponse.BuilderchannelArn(String channelArn)The ARN of the channel.SendChannelMessageResponse.BuildermessageId(String messageId)The ID string assigned to each message.default SendChannelMessageResponse.Builderstatus(Consumer<ChannelMessageStatusStructure.Builder> status)The status of the channel message.SendChannelMessageResponse.Builderstatus(ChannelMessageStatusStructure status)The status of the channel message.SendChannelMessageResponse.BuildersubChannelId(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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
channelArn
SendChannelMessageResponse.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.
-
messageId
SendChannelMessageResponse.Builder messageId(String 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
SendChannelMessageResponse.Builder status(ChannelMessageStatusStructure 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.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:
status(ChannelMessageStatusStructure)
-
subChannelId
SendChannelMessageResponse.Builder subChannelId(String 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.
-
-