Class ChannelPlacementGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.ChannelPlacementGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<ChannelPlacementGroupProps>
- Enclosing interface:
ChannelPlacementGroupProps
@Stability(Experimental)
public static final class ChannelPlacementGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<ChannelPlacementGroupProps>
A builder for
ChannelPlacementGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.channelPlacementGroupName(String channelPlacementGroupName) Sets the value ofChannelPlacementGroupProps.getChannelPlacementGroupName()cluster(IClusterRef cluster) Sets the value ofChannelPlacementGroupProps.getCluster()Sets the value ofChannelPlacementGroupProps.getNodes()Sets the value ofChannelPlacementGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cluster
Sets the value ofChannelPlacementGroupProps.getCluster()- Parameters:
cluster- The cluster this channel placement group belongs to. This parameter is required.- Returns:
this
-
channelPlacementGroupName
@Stability(Experimental) public ChannelPlacementGroupProps.Builder channelPlacementGroupName(String channelPlacementGroupName) Sets the value ofChannelPlacementGroupProps.getChannelPlacementGroupName()- Parameters:
channelPlacementGroupName- The name of the channel placement group.- Returns:
this
-
nodes
Sets the value ofChannelPlacementGroupProps.getNodes()- Parameters:
nodes- List of node IDs for the channel placement group.- Returns:
this
-
tags
Sets the value ofChannelPlacementGroupProps.getTags()- Parameters:
tags- Tags to add to the channel placement group.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<ChannelPlacementGroupProps>- Returns:
- a new instance of
ChannelPlacementGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-