Class CfnCluster.InterfaceMappingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnCluster.InterfaceMappingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.InterfaceMappingProperty>
- Enclosing interface:
CfnCluster.InterfaceMappingProperty
@Stability(Stable)
public static final class CfnCluster.InterfaceMappingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.InterfaceMappingProperty>
A builder for
CfnCluster.InterfaceMappingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logicalInterfaceName(String logicalInterfaceName) Sets the value ofCfnCluster.InterfaceMappingProperty.getLogicalInterfaceName()Sets the value ofCfnCluster.InterfaceMappingProperty.getNetworkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logicalInterfaceName
@Stability(Stable) public CfnCluster.InterfaceMappingProperty.Builder logicalInterfaceName(String logicalInterfaceName) Sets the value ofCfnCluster.InterfaceMappingProperty.getLogicalInterfaceName()- Parameters:
logicalInterfaceName- logical interface name, unique in the list.- Returns:
this
-
networkId
Sets the value ofCfnCluster.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<CfnCluster.InterfaceMappingProperty>- Returns:
- a new instance of
CfnCluster.InterfaceMappingProperty - Throws:
NullPointerException- if any required attribute was not provided
-