Interface ListChannelPlacementGroupsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<ListChannelPlacementGroupsResponse.Builder,,ListChannelPlacementGroupsResponse> MediaLiveResponse.Builder,SdkBuilder<ListChannelPlacementGroupsResponse.Builder,,ListChannelPlacementGroupsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
ListChannelPlacementGroupsResponse
@Mutable
@NotThreadSafe
public static interface ListChannelPlacementGroupsResponse.Builder
extends MediaLiveResponse.Builder, SdkPojo, CopyableBuilder<ListChannelPlacementGroupsResponse.Builder,ListChannelPlacementGroupsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionchannelPlacementGroups(Collection<DescribeChannelPlacementGroupSummary> channelPlacementGroups) An array of ChannelPlacementGroups that exist in the Cluster.channelPlacementGroups(Consumer<DescribeChannelPlacementGroupSummary.Builder>... channelPlacementGroups) An array of ChannelPlacementGroups that exist in the Cluster.channelPlacementGroups(DescribeChannelPlacementGroupSummary... channelPlacementGroups) An array of ChannelPlacementGroups that exist in the Cluster.Token for the next result.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.medialive.model.MediaLiveResponse.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
-
channelPlacementGroups
ListChannelPlacementGroupsResponse.Builder channelPlacementGroups(Collection<DescribeChannelPlacementGroupSummary> channelPlacementGroups) An array of ChannelPlacementGroups that exist in the Cluster.- Parameters:
channelPlacementGroups- An array of ChannelPlacementGroups that exist in the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelPlacementGroups
ListChannelPlacementGroupsResponse.Builder channelPlacementGroups(DescribeChannelPlacementGroupSummary... channelPlacementGroups) An array of ChannelPlacementGroups that exist in the Cluster.- Parameters:
channelPlacementGroups- An array of ChannelPlacementGroups that exist in the Cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
channelPlacementGroups
ListChannelPlacementGroupsResponse.Builder channelPlacementGroups(Consumer<DescribeChannelPlacementGroupSummary.Builder>... channelPlacementGroups) An array of ChannelPlacementGroups that exist in the Cluster. This is a convenience method that creates an instance of theDescribeChannelPlacementGroupSummary.Builderavoiding the need to create one manually viaDescribeChannelPlacementGroupSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tochannelPlacementGroups(List<DescribeChannelPlacementGroupSummary>).- Parameters:
channelPlacementGroups- a consumer that will call methods onDescribeChannelPlacementGroupSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
Token for the next result.- Parameters:
nextToken- Token for the next result.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-