Interface ClusterNetworkSettings.Builder

  • Method Details

    • defaultRoute

      ClusterNetworkSettings.Builder defaultRoute(String 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

      ClusterNetworkSettings.Builder interfaceMappings(Collection<InterfaceMapping> 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(InterfaceMapping... 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 the InterfaceMapping.Builder avoiding the need to create one manually via InterfaceMapping.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to interfaceMappings(List<InterfaceMapping>).

      Parameters:
      interfaceMappings - a consumer that will call methods on InterfaceMapping.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: