Interface GetChannelMessageResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<GetChannelMessageResponse.Builder,GetChannelMessageResponse>,SdkBuilder<GetChannelMessageResponse.Builder,GetChannelMessageResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetChannelMessageResponse
public static interface GetChannelMessageResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<GetChannelMessageResponse.Builder,GetChannelMessageResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetChannelMessageResponse.BuilderchannelMessage(Consumer<ChannelMessage.Builder> channelMessage)The details of and content in the message.GetChannelMessageResponse.BuilderchannelMessage(ChannelMessage channelMessage)The details of and content in the message.-
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
-
channelMessage
GetChannelMessageResponse.Builder channelMessage(ChannelMessage channelMessage)
The details of and content in the message.
- Parameters:
channelMessage- The details of and content in the message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMessage
default GetChannelMessageResponse.Builder channelMessage(Consumer<ChannelMessage.Builder> channelMessage)
The details of and content in the message.
This is a convenience method that creates an instance of theChannelMessage.Builderavoiding the need to create one manually viaChannelMessage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelMessage(ChannelMessage).- Parameters:
channelMessage- a consumer that will call methods onChannelMessage.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
channelMessage(ChannelMessage)
-
-