Class ChannelPlacementGroupAttributes.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.ChannelPlacementGroupAttributes.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelPlacementGroupAttributes>
- Enclosing interface:
ChannelPlacementGroupAttributes
@Stability(Experimental)
public static final class ChannelPlacementGroupAttributes.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelPlacementGroupAttributes>
A builder for
ChannelPlacementGroupAttributes-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelPlacementGroupArn(String channelPlacementGroupArn) Sets the value ofChannelPlacementGroupAttributes.getChannelPlacementGroupArn()channelPlacementGroupId(String channelPlacementGroupId) Sets the value ofChannelPlacementGroupAttributes.getChannelPlacementGroupId()Sets the value ofChannelPlacementGroupAttributes.getClusterId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channelPlacementGroupArn
@Stability(Experimental) public ChannelPlacementGroupAttributes.Builder channelPlacementGroupArn(String channelPlacementGroupArn) Sets the value ofChannelPlacementGroupAttributes.getChannelPlacementGroupArn()- Parameters:
channelPlacementGroupArn- The ARN of the channel placement group. This parameter is required.- Returns:
this
-
channelPlacementGroupId
@Stability(Experimental) public ChannelPlacementGroupAttributes.Builder channelPlacementGroupId(String channelPlacementGroupId) Sets the value ofChannelPlacementGroupAttributes.getChannelPlacementGroupId()- Parameters:
channelPlacementGroupId- The ID of the channel placement group. This parameter is required.- Returns:
this
-
clusterId
Sets the value ofChannelPlacementGroupAttributes.getClusterId()- Parameters:
clusterId- The ID of the cluster this group belongs to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ChannelPlacementGroupAttributes>- Returns:
- a new instance of
ChannelPlacementGroupAttributes - Throws:
NullPointerException- if any required attribute was not provided
-