Class CfnNode.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnNode.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNode>
- Enclosing class:
CfnNode
@Stability(Stable)
public static final class CfnNode.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNode>
A fluent builder for
CfnNode.-
Method Summary
Modifier and TypeMethodDescriptionbuild()The ID of the Cluster that the Node belongs to.static CfnNode.BuilderThe user-specified name of the Node.nodeInterfaceMappings(List<? extends Object> nodeInterfaceMappings) An array of interface mappings for the Node.nodeInterfaceMappings(IResolvable nodeInterfaceMappings) An array of interface mappings for the Node.The role of the Node in the Cluster.sdiSourceMappings(List<? extends Object> sdiSourceMappings) An array of SDI source mappings.sdiSourceMappings(IResolvable sdiSourceMappings) An array of SDI source mappings.A collection of key-value pairs.
-
Method Details
-
create
@Stability(Stable) public static CfnNode.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- Scope in which this resource is defined. This parameter is required.id- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnNode.Builder.
-
clusterId
The ID of the Cluster that the Node belongs to.- Parameters:
clusterId- The ID of the Cluster that the Node belongs to. This parameter is required.- Returns:
this- See Also:
-
name
The user-specified name of the Node.- Parameters:
name- The user-specified name of the Node. This parameter is required.- Returns:
this- See Also:
-
nodeInterfaceMappings
An array of interface mappings for the Node.- Parameters:
nodeInterfaceMappings- An array of interface mappings for the Node. This parameter is required.- Returns:
this- See Also:
-
nodeInterfaceMappings
@Stability(Stable) public CfnNode.Builder nodeInterfaceMappings(List<? extends Object> nodeInterfaceMappings) An array of interface mappings for the Node.- Parameters:
nodeInterfaceMappings- An array of interface mappings for the Node. This parameter is required.- Returns:
this- See Also:
-
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.
- Parameters:
role- The role of the Node in the Cluster. This parameter is required.- Returns:
this- See Also:
-
sdiSourceMappings
An array of SDI source mappings.- Parameters:
sdiSourceMappings- An array of SDI source mappings. This parameter is required.- Returns:
this- See Also:
-
sdiSourceMappings
@Stability(Stable) public CfnNode.Builder sdiSourceMappings(List<? extends Object> sdiSourceMappings) An array of SDI source mappings.- Parameters:
sdiSourceMappings- An array of SDI source mappings. This parameter is required.- Returns:
this- See Also:
-
tags
A collection of key-value pairs.- Parameters:
tags- A collection of key-value pairs. This parameter is required.- Returns:
this- See Also:
-
build
-