Class CfnCluster.ClusterNetworkSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.medialive.CfnCluster.ClusterNetworkSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCluster.ClusterNetworkSettingsProperty>
- Enclosing interface:
CfnCluster.ClusterNetworkSettingsProperty
@Stability(Stable)
public static final class CfnCluster.ClusterNetworkSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCluster.ClusterNetworkSettingsProperty>
A builder for
CfnCluster.ClusterNetworkSettingsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.defaultRoute
(String defaultRoute) Sets the value ofCfnCluster.ClusterNetworkSettingsProperty.getDefaultRoute()
interfaceMappings
(List<? extends Object> interfaceMappings) Sets the value ofCfnCluster.ClusterNetworkSettingsProperty.getInterfaceMappings()
interfaceMappings
(IResolvable interfaceMappings) Sets the value ofCfnCluster.ClusterNetworkSettingsProperty.getInterfaceMappings()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
defaultRoute
@Stability(Stable) public CfnCluster.ClusterNetworkSettingsProperty.Builder defaultRoute(String defaultRoute) Sets the value ofCfnCluster.ClusterNetworkSettingsProperty.getDefaultRoute()
- Parameters:
defaultRoute
- Default value if the customer does not define it in channel Output API.- Returns:
this
-
interfaceMappings
@Stability(Stable) public CfnCluster.ClusterNetworkSettingsProperty.Builder interfaceMappings(IResolvable interfaceMappings) Sets the value ofCfnCluster.ClusterNetworkSettingsProperty.getInterfaceMappings()
- Parameters:
interfaceMappings
- Network mappings for the cluster.- Returns:
this
-
interfaceMappings
@Stability(Stable) public CfnCluster.ClusterNetworkSettingsProperty.Builder interfaceMappings(List<? extends Object> interfaceMappings) Sets the value ofCfnCluster.ClusterNetworkSettingsProperty.getInterfaceMappings()
- Parameters:
interfaceMappings
- Network mappings for the cluster.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCluster.ClusterNetworkSettingsProperty>
- Returns:
- a new instance of
CfnCluster.ClusterNetworkSettingsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-