Class CfnNode.NodeInterfaceMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnNode.NodeInterfaceMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnNode.NodeInterfaceMappingProperty>
- Enclosing interface:
CfnNode.NodeInterfaceMappingProperty
@Stability(Stable)
public static final class CfnNode.NodeInterfaceMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnNode.NodeInterfaceMappingProperty>
A builder for
CfnNode.NodeInterfaceMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logicalInterfaceName(String logicalInterfaceName) Sets the value ofCfnNode.NodeInterfaceMappingProperty.getLogicalInterfaceName()networkInterfaceMode(String networkInterfaceMode) Sets the value ofCfnNode.NodeInterfaceMappingProperty.getNetworkInterfaceMode()physicalInterfaceName(String physicalInterfaceName) Sets the value ofCfnNode.NodeInterfaceMappingProperty.getPhysicalInterfaceName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logicalInterfaceName
@Stability(Stable) public CfnNode.NodeInterfaceMappingProperty.Builder logicalInterfaceName(String logicalInterfaceName) Sets the value ofCfnNode.NodeInterfaceMappingProperty.getLogicalInterfaceName()- Parameters:
logicalInterfaceName- The logical name for this interface.- Returns:
this
-
networkInterfaceMode
@Stability(Stable) public CfnNode.NodeInterfaceMappingProperty.Builder networkInterfaceMode(String networkInterfaceMode) Sets the value ofCfnNode.NodeInterfaceMappingProperty.getNetworkInterfaceMode()- Parameters:
networkInterfaceMode- The network interface mode.- Returns:
this
-
physicalInterfaceName
@Stability(Stable) public CfnNode.NodeInterfaceMappingProperty.Builder physicalInterfaceName(String physicalInterfaceName) Sets the value ofCfnNode.NodeInterfaceMappingProperty.getPhysicalInterfaceName()- Parameters:
physicalInterfaceName- The physical interface name.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnNode.NodeInterfaceMappingProperty>- Returns:
- a new instance of
CfnNode.NodeInterfaceMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-