Interface ListChannelMessagesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,ChimeSdkMessagingResponse.Builder,CopyableBuilder<ListChannelMessagesResponse.Builder,ListChannelMessagesResponse>,SdkBuilder<ListChannelMessagesResponse.Builder,ListChannelMessagesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListChannelMessagesResponse
public static interface ListChannelMessagesResponse.Builder extends ChimeSdkMessagingResponse.Builder, SdkPojo, CopyableBuilder<ListChannelMessagesResponse.Builder,ListChannelMessagesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListChannelMessagesResponse.BuilderchannelArn(String channelArn)The ARN of the channel containing the requested messages.ListChannelMessagesResponse.BuilderchannelMessages(Collection<ChannelMessageSummary> channelMessages)The information about, and content of, each requested message.ListChannelMessagesResponse.BuilderchannelMessages(Consumer<ChannelMessageSummary.Builder>... channelMessages)The information about, and content of, each requested message.ListChannelMessagesResponse.BuilderchannelMessages(ChannelMessageSummary... channelMessages)The information about, and content of, each requested message.ListChannelMessagesResponse.BuildernextToken(String nextToken)The token passed by previous API calls until all requested messages are returned.ListChannelMessagesResponse.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
ListChannelMessagesResponse.Builder channelArn(String 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
ListChannelMessagesResponse.Builder nextToken(String 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
ListChannelMessagesResponse.Builder channelMessages(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
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 to#channelMessages(List.) - 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:
#channelMessages(java.util.Collection)
-
subChannelId
ListChannelMessagesResponse.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.
-
-