Interface ListChannelsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> MediaLiveResponse.Builder
,SdkBuilder<ListChannelsResponse.Builder,
,ListChannelsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListChannelsResponse
@Mutable
@NotThreadSafe
public static interface ListChannelsResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListChannelsResponse.Builder,ListChannelsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannels
(Collection<ChannelSummary> channels) Sets the value of the Channels property for this object.channels
(Consumer<ChannelSummary.Builder>... channels) Sets the value of the Channels property for this object.channels
(ChannelSummary... channels) Sets the value of the Channels property for this object.Sets the value of the NextToken property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
channels
Sets the value of the Channels property for this object.- Parameters:
channels
- The new value for the Channels property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
Sets the value of the Channels property for this object.- Parameters:
channels
- The new value for the Channels property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channels
Sets the value of the Channels property for this object. This is a convenience method that creates an instance of theChannelSummary.Builder
avoiding the need to create one manually viaChannelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochannels(List<ChannelSummary>)
.- Parameters:
channels
- 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
Sets the value of the NextToken property for this object.- Parameters:
nextToken
- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-