Interface ClusterNetworkSettingsCreateRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterNetworkSettingsCreateRequest.Builder,
,ClusterNetworkSettingsCreateRequest> SdkBuilder<ClusterNetworkSettingsCreateRequest.Builder,
,ClusterNetworkSettingsCreateRequest> SdkPojo
- Enclosing class:
ClusterNetworkSettingsCreateRequest
@Mutable
@NotThreadSafe
public static interface ClusterNetworkSettingsCreateRequest.Builder
extends SdkPojo, CopyableBuilder<ClusterNetworkSettingsCreateRequest.Builder,ClusterNetworkSettingsCreateRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondefaultRoute
(String defaultRoute) Specify one network interface as the default route for traffic to and from the Node.interfaceMappings
(Collection<InterfaceMappingCreateRequest> interfaceMappings) An array of interfaceMapping objects for this Cluster.interfaceMappings
(Consumer<InterfaceMappingCreateRequest.Builder>... interfaceMappings) An array of interfaceMapping objects for this Cluster.interfaceMappings
(InterfaceMappingCreateRequest... 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, sdkFieldNameToField, sdkFields
-
Method Details
-
defaultRoute
Specify one network interface as 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
- Specify one network interface as 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
ClusterNetworkSettingsCreateRequest.Builder interfaceMappings(Collection<InterfaceMappingCreateRequest> interfaceMappings) An array of interfaceMapping objects for this Cluster. You must create a mapping for node interfaces that you plan to use for encoding traffic. You typically don't create a mapping for the management interface. You define this mapping in the Cluster so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface.- Parameters:
interfaceMappings
- An array of interfaceMapping objects for this Cluster. You must create a mapping for node interfaces that you plan to use for encoding traffic. You typically don't create a mapping for the management interface. You define this mapping in the Cluster so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceMappings
ClusterNetworkSettingsCreateRequest.Builder interfaceMappings(InterfaceMappingCreateRequest... interfaceMappings) An array of interfaceMapping objects for this Cluster. You must create a mapping for node interfaces that you plan to use for encoding traffic. You typically don't create a mapping for the management interface. You define this mapping in the Cluster so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface.- Parameters:
interfaceMappings
- An array of interfaceMapping objects for this Cluster. You must create a mapping for node interfaces that you plan to use for encoding traffic. You typically don't create a mapping for the management interface. You define this mapping in the Cluster so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceMappings
ClusterNetworkSettingsCreateRequest.Builder interfaceMappings(Consumer<InterfaceMappingCreateRequest.Builder>... interfaceMappings) An array of interfaceMapping objects for this Cluster. You must create a mapping for node interfaces that you plan to use for encoding traffic. You typically don't create a mapping for the management interface. You define this mapping in the Cluster so that the mapping can be used by all the Nodes. Each mapping logically connects one interface on the nodes with one Network. Each mapping consists of a pair of parameters. The logicalInterfaceName parameter creates a logical name for the Node interface that handles a specific type of traffic. For example, my-Inputs-Interface. The networkID parameter refers to the ID of the network. When you create the Nodes in this Cluster, you will associate the logicalInterfaceName with the appropriate physical interface. This is a convenience method that creates an instance of theInterfaceMappingCreateRequest.Builder
avoiding the need to create one manually viaInterfaceMappingCreateRequest.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointerfaceMappings(List<InterfaceMappingCreateRequest>)
.- Parameters:
interfaceMappings
- a consumer that will call methods onInterfaceMappingCreateRequest.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-