public static interface GetChannelMessageResponse.Builder extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<GetChannelMessageResponse.Builder,GetChannelMessageResponse>
| Modifier and Type | Method and Description |
|---|---|
GetChannelMessageResponse.Builder |
channelMessage(ChannelMessage channelMessage)
The details of and content in the message.
|
default GetChannelMessageResponse.Builder |
channelMessage(Consumer<ChannelMessage.Builder> channelMessage)
The details of and content in the message.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetChannelMessageResponse.Builder channelMessage(ChannelMessage channelMessage)
The details of and content in the message.
channelMessage - The details of and content in the message.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.Builder avoiding the need
to create one manually via ChannelMessage.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to channelMessage(ChannelMessage).
channelMessage - a consumer that will call methods on ChannelMessage.BuilderchannelMessage(ChannelMessage)Copyright © 2023. All rights reserved.