Class CfnChannelPlacementGroupProps.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnChannelPlacementGroupProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPlacementGroupProps>
- Enclosing interface:
CfnChannelPlacementGroupProps
@Stability(Stable)
public static final class CfnChannelPlacementGroupProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPlacementGroupProps>
A builder for
CfnChannelPlacementGroupProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnChannelPlacementGroupProps.getClusterId()Sets the value ofCfnChannelPlacementGroupProps.getName()Sets the value ofCfnChannelPlacementGroupProps.getNodes()Sets the value ofCfnChannelPlacementGroupProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterId
Sets the value ofCfnChannelPlacementGroupProps.getClusterId()- Parameters:
clusterId- The ID of the cluster the node is on.- Returns:
this
-
name
Sets the value ofCfnChannelPlacementGroupProps.getName()- Parameters:
name- The name of the channel placement group.- Returns:
this
-
nodes
Sets the value ofCfnChannelPlacementGroupProps.getNodes()- Parameters:
nodes- List of nodes added to the channel placement group.- Returns:
this
-
tags
Sets the value ofCfnChannelPlacementGroupProps.getTags()- Parameters:
tags- A collection of key-value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPlacementGroupProps>- Returns:
- a new instance of
CfnChannelPlacementGroupProps - Throws:
NullPointerException- if any required attribute was not provided
-