Class CfnNodeMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnNodeMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNodeMixinProps>
- Enclosing interface:
CfnNodeMixinProps
@Stability(Stable)
public static final class CfnNodeMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNodeMixinProps>
A builder for
CfnNodeMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnNodeMixinProps.getClusterId()Sets the value ofCfnNodeMixinProps.getName()nodeInterfaceMappings(List<? extends Object> nodeInterfaceMappings) Sets the value ofCfnNodeMixinProps.getNodeInterfaceMappings()nodeInterfaceMappings(IResolvable nodeInterfaceMappings) Sets the value ofCfnNodeMixinProps.getNodeInterfaceMappings()Sets the value ofCfnNodeMixinProps.getRole()sdiSourceMappings(List<? extends Object> sdiSourceMappings) Sets the value ofCfnNodeMixinProps.getSdiSourceMappings()sdiSourceMappings(IResolvable sdiSourceMappings) Sets the value ofCfnNodeMixinProps.getSdiSourceMappings()Sets the value ofCfnNodeMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clusterId
Sets the value ofCfnNodeMixinProps.getClusterId()- Parameters:
clusterId- The ID of the Cluster that the Node belongs to.- Returns:
this
-
name
Sets the value ofCfnNodeMixinProps.getName()- Parameters:
name- The user-specified name of the Node.- Returns:
this
-
nodeInterfaceMappings
@Stability(Stable) public CfnNodeMixinProps.Builder nodeInterfaceMappings(IResolvable nodeInterfaceMappings) Sets the value ofCfnNodeMixinProps.getNodeInterfaceMappings()- Parameters:
nodeInterfaceMappings- An array of interface mappings for the Node.- Returns:
this
-
nodeInterfaceMappings
@Stability(Stable) public CfnNodeMixinProps.Builder nodeInterfaceMappings(List<? extends Object> nodeInterfaceMappings) Sets the value ofCfnNodeMixinProps.getNodeInterfaceMappings()- Parameters:
nodeInterfaceMappings- An array of interface mappings for the Node.- Returns:
this
-
role
Sets the value ofCfnNodeMixinProps.getRole()- Parameters:
role- The role of the Node in the Cluster. ACTIVE means the Node is available for encoding. BACKUP means the Node is a redundant Node and might get used if an ACTIVE Node fails.- Returns:
this
-
sdiSourceMappings
@Stability(Stable) public CfnNodeMixinProps.Builder sdiSourceMappings(IResolvable sdiSourceMappings) Sets the value ofCfnNodeMixinProps.getSdiSourceMappings()- Parameters:
sdiSourceMappings- An array of SDI source mappings.- Returns:
this
-
sdiSourceMappings
@Stability(Stable) public CfnNodeMixinProps.Builder sdiSourceMappings(List<? extends Object> sdiSourceMappings) Sets the value ofCfnNodeMixinProps.getSdiSourceMappings()- Parameters:
sdiSourceMappings- An array of SDI source mappings.- Returns:
this
-
tags
Sets the value ofCfnNodeMixinProps.getTags()- Parameters:
tags- A collection of key-value pairs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNodeMixinProps>- Returns:
- a new instance of
CfnNodeMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-