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