Class CfnClusterPropsMixin.InterfaceMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnClusterPropsMixin.InterfaceMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.InterfaceMappingProperty>
- Enclosing interface:
CfnClusterPropsMixin.InterfaceMappingProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.InterfaceMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.InterfaceMappingProperty>
A builder for
CfnClusterPropsMixin.InterfaceMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logicalInterfaceName(String logicalInterfaceName) Sets the value ofCfnClusterPropsMixin.InterfaceMappingProperty.getLogicalInterfaceName()Sets the value ofCfnClusterPropsMixin.InterfaceMappingProperty.getNetworkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logicalInterfaceName
@Stability(Stable) public CfnClusterPropsMixin.InterfaceMappingProperty.Builder logicalInterfaceName(String logicalInterfaceName) Sets the value ofCfnClusterPropsMixin.InterfaceMappingProperty.getLogicalInterfaceName()- Parameters:
logicalInterfaceName- logical interface name, unique in the list.- Returns:
this
-
networkId
@Stability(Stable) public CfnClusterPropsMixin.InterfaceMappingProperty.Builder networkId(String networkId) Sets the value ofCfnClusterPropsMixin.InterfaceMappingProperty.getNetworkId()- Parameters:
networkId- Network Id to be associated with the logical interface name, can be duplicated in list.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.InterfaceMappingProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.InterfaceMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-