Interface ListChannelMessagesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeResponse.Builder,CopyableBuilder<ListChannelMessagesResponse.Builder,,ListChannelMessagesResponse> SdkBuilder<ListChannelMessagesResponse.Builder,,ListChannelMessagesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelMessagesResponse
public static interface ListChannelMessagesResponse.Builder
extends ChimeResponse.Builder, SdkPojo, CopyableBuilder<ListChannelMessagesResponse.Builder,ListChannelMessagesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelArn(String channelArn) The ARN of the channel containing the requested messages.channelMessages(Collection<ChannelMessageSummary> channelMessages) The information about, and content of, each requested message.channelMessages(Consumer<ChannelMessageSummary.Builder>... channelMessages) The information about, and content of, each requested message.channelMessages(ChannelMessageSummary... channelMessages) The information about, and content of, each requested message.The token passed by previous API calls until all requested messages are returned.Methods inherited from interface software.amazon.awssdk.services.chime.model.ChimeResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelArn
The ARN of the channel containing the requested messages.
- Parameters:
channelArn- The ARN of the channel containing the requested messages.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The token passed by previous API calls until all requested messages are returned.
- Parameters:
nextToken- The token passed by previous API calls until all requested messages are returned.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMessages
ListChannelMessagesResponse.Builder channelMessages(Collection<ChannelMessageSummary> channelMessages) The information about, and content of, each requested message.
- Parameters:
channelMessages- The information about, and content of, each requested message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMessages
The information about, and content of, each requested message.
- Parameters:
channelMessages- The information about, and content of, each requested message.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelMessages
ListChannelMessagesResponse.Builder channelMessages(Consumer<ChannelMessageSummary.Builder>... channelMessages) The information about, and content of, each requested message.
This is a convenience method that creates an instance of theChannelMessageSummary.Builderavoiding the need to create one manually viaChannelMessageSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelMessages(List<ChannelMessageSummary>).- Parameters:
channelMessages- a consumer that will call methods onChannelMessageSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-