Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> MediaTailorResponse.Builder
,SdkBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
public static interface ListChannelsResponse.Builder
extends MediaTailorResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionitems
(Collection<Channel> items) A list of channels that are associated with this account.items
(Consumer<Channel.Builder>... items) A list of channels that are associated with this account.A list of channels that are associated with this account.Pagination token returned by the list request when results exceed the maximum allowed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.mediatailor.model.MediaTailorResponse.Builder
build, responseMetadata, responseMetadata
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 Details
-
items
A list of channels that are associated with this account.
- Parameters:
items
- A list of channels that are associated with this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of channels that are associated with this account.
- Parameters:
items
- A list of channels that are associated with this account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
items
A list of channels that are associated with this account.
This is a convenience method that creates an instance of theChannel.Builder
avoiding the need to create one manually viaChannel.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toitems(List<Channel>)
.- Parameters:
items
- 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
Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.
- Parameters:
nextToken
- Pagination token returned by the list request when results exceed the maximum allowed. Use the token to fetch the next page of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-