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