Interface ClusterNetworkSettings.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterNetworkSettings.Builder,
,ClusterNetworkSettings> SdkBuilder<ClusterNetworkSettings.Builder,
,ClusterNetworkSettings> SdkPojo
- Enclosing class:
ClusterNetworkSettings
public static interface ClusterNetworkSettings.Builder
extends SdkPojo, CopyableBuilder<ClusterNetworkSettings.Builder,ClusterNetworkSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultRoute
(String defaultRoute) The network interface that is the default route for traffic to and from the node.interfaceMappings
(Collection<InterfaceMapping> interfaceMappings) An array of interfaceMapping objects for this Cluster.interfaceMappings
(Consumer<InterfaceMapping.Builder>... interfaceMappings) An array of interfaceMapping objects for this Cluster.interfaceMappings
(InterfaceMapping... interfaceMappings) An array of interfaceMapping objects for this Cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
defaultRoute
The network interface that is the default route for traffic to and from the node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings.- Parameters:
defaultRoute
- The network interface that is the default route for traffic to and from the node. MediaLive Anywhere uses this default when the destination for the traffic isn't covered by the route table for any of the networks. Specify the value of the appropriate logicalInterfaceName parameter that you create in the interfaceMappings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceMappings
An array of interfaceMapping objects for this Cluster. Each mapping logically connects one interface on the nodes with one Network. You need only one mapping for each interface because all the Nodes share the mapping.- Parameters:
interfaceMappings
- An array of interfaceMapping objects for this Cluster. Each mapping logically connects one interface on the nodes with one Network. You need only one mapping for each interface because all the Nodes share the mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceMappings
An array of interfaceMapping objects for this Cluster. Each mapping logically connects one interface on the nodes with one Network. You need only one mapping for each interface because all the Nodes share the mapping.- Parameters:
interfaceMappings
- An array of interfaceMapping objects for this Cluster. Each mapping logically connects one interface on the nodes with one Network. You need only one mapping for each interface because all the Nodes share the mapping.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceMappings
ClusterNetworkSettings.Builder interfaceMappings(Consumer<InterfaceMapping.Builder>... interfaceMappings) An array of interfaceMapping objects for this Cluster. Each mapping logically connects one interface on the nodes with one Network. You need only one mapping for each interface because all the Nodes share the mapping. This is a convenience method that creates an instance of theInterfaceMapping.Builder
avoiding the need to create one manually viaInterfaceMapping.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointerfaceMappings(List<InterfaceMapping>)
.- Parameters:
interfaceMappings
- a consumer that will call methods onInterfaceMapping.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-