Interface NodeProperties.Builder

  • Method Details

    • numNodes

      NodeProperties.Builder numNodes(Integer numNodes)

      The number of nodes that are associated with a multi-node parallel job.

      Parameters:
      numNodes - The number of nodes that are associated with a multi-node parallel job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • mainNode

      NodeProperties.Builder mainNode(Integer mainNode)

      Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.

      Parameters:
      mainNode - Specifies the node index for the main node of a multi-node parallel job. This node index value must be fewer than the number of nodes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeRangeProperties

      NodeProperties.Builder nodeRangeProperties(Collection<NodeRangeProperty> nodeRangeProperties)

      A list of node ranges and their properties that are associated with a multi-node parallel job.

      Parameters:
      nodeRangeProperties - A list of node ranges and their properties that are associated with a multi-node parallel job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeRangeProperties

      NodeProperties.Builder nodeRangeProperties(NodeRangeProperty... nodeRangeProperties)

      A list of node ranges and their properties that are associated with a multi-node parallel job.

      Parameters:
      nodeRangeProperties - A list of node ranges and their properties that are associated with a multi-node parallel job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodeRangeProperties

      NodeProperties.Builder nodeRangeProperties(Consumer<NodeRangeProperty.Builder>... nodeRangeProperties)

      A list of node ranges and their properties that are associated with a multi-node parallel job.

      This is a convenience method that creates an instance of the NodeRangeProperty.Builder avoiding the need to create one manually via NodeRangeProperty.builder().

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

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