Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> KinesisResponse.Builder,SdkBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
@Mutable
@NotThreadSafe
public static interface ListChannelsResponse.Builder
extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelSummaries(Collection<ChannelSummary> channelSummaries) A list of channel summaries.channelSummaries(Consumer<ChannelSummary.Builder>... channelSummaries) A list of channel summaries.channelSummaries(ChannelSummary... channelSummaries) A list of channel summaries.The pagination token to use in a subsequent call to retrieve the next page of results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.kinesis.model.KinesisResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channelSummaries
A list of channel summaries.
- Parameters:
channelSummaries- A list of channel summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSummaries
A list of channel summaries.
- Parameters:
channelSummaries- A list of channel summaries.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelSummaries
A list of channel summaries.
This is a convenience method that creates an instance of theChannelSummary.Builderavoiding the need to create one manually viaChannelSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelSummaries(List<ChannelSummary>).- Parameters:
channelSummaries- a consumer that will call methods onChannelSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token to use in a subsequent call to retrieve the next page of results. This value is
nullwhen there are no more results to return.- Parameters:
nextToken- The pagination token to use in a subsequent call to retrieve the next page of results. This value isnullwhen there are no more results to return.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-