Class InterfaceMapping.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.alpha.InterfaceMapping.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<InterfaceMapping>
- Enclosing interface:
InterfaceMapping
@Stability(Experimental)
public static final class InterfaceMapping.Builder
extends Object
implements software.amazon.jsii.Builder<InterfaceMapping>
A builder for
InterfaceMapping-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.logicalInterfaceName(String logicalInterfaceName) Sets the value ofInterfaceMapping.getLogicalInterfaceName()Sets the value ofInterfaceMapping.getNetworkId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
logicalInterfaceName
@Stability(Experimental) public InterfaceMapping.Builder logicalInterfaceName(String logicalInterfaceName) Sets the value ofInterfaceMapping.getLogicalInterfaceName()- Parameters:
logicalInterfaceName- The logical interface name. This parameter is required.- Returns:
this
-
networkId
Sets the value ofInterfaceMapping.getNetworkId()- Parameters:
networkId- The network ID to map to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<InterfaceMapping>- Returns:
- a new instance of
InterfaceMapping - Throws:
NullPointerException- if any required attribute was not provided
-