Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> MediaPackageResponse.Builder,SdkBuilder<ListChannelsResponse.Builder,,ListChannelsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
public static interface ListChannelsResponse.Builder
extends MediaPackageResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels(Collection<Channel> channels) A list of Channel records.channels(Consumer<Channel.Builder>... channels) A list of Channel records.A list of Channel records.A token that can be used to resume pagination from the end of the collection.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.mediapackage.model.MediaPackageResponse.Builder
build, responseMetadata, responseMetadataMethods 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
-
channels
A list of Channel records.- Parameters:
channels- A list of Channel records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
A list of Channel records.- Parameters:
channels- A list of Channel records.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
A list of Channel records. This is a convenience method that creates an instance of theChannel.Builderavoiding the need to create one manually viaChannel.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannels(List<Channel>).- Parameters:
channels- a consumer that will call methods onChannel.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that can be used to resume pagination from the end of the collection.- Parameters:
nextToken- A token that can be used to resume pagination from the end of the collection.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-