Interface UpdateChannelMessageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<UpdateChannelMessageResponse.Builder,UpdateChannelMessageResponse>,SdkBuilder<UpdateChannelMessageResponse.Builder,UpdateChannelMessageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- UpdateChannelMessageResponse
public static interface UpdateChannelMessageResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<UpdateChannelMessageResponse.Builder,UpdateChannelMessageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateChannelMessageResponse.BuilderchannelArn(String channelArn)The ARN of the channel.UpdateChannelMessageResponse.BuildermessageId(String messageId)The ID string of the message being updated.default UpdateChannelMessageResponse.Builderstatus(Consumer<ChannelMessageStatusStructure.Builder> status)The status of the message update.UpdateChannelMessageResponse.Builderstatus(ChannelMessageStatusStructure status)The status of the message update.UpdateChannelMessageResponse.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
UpdateChannelMessageResponse.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
UpdateChannelMessageResponse.Builder messageId(String 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
UpdateChannelMessageResponse.Builder status(ChannelMessageStatusStructure 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:
status(ChannelMessageStatusStructure)
-
subChannelId
UpdateChannelMessageResponse.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.
-
-