Interface NodeOverrides.Builder

All Superinterfaces:
Buildable, CopyableBuilder<NodeOverrides.Builder,NodeOverrides>, SdkBuilder<NodeOverrides.Builder,NodeOverrides>, SdkPojo
Enclosing class:
NodeOverrides

public static interface NodeOverrides.Builder extends SdkPojo, CopyableBuilder<NodeOverrides.Builder,NodeOverrides>
  • Method Details

    • numNodes

      NodeOverrides.Builder numNodes(Integer numNodes)

      The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override, you must meet the following conditions:

      • There must be at least one node range in your job definition that has an open upper boundary, such as : or n:.

      • The lower boundary of the node range that's specified in the job definition must be fewer than the number of nodes specified in the override.

      • The main node index that's specified in the job definition must be fewer than the number of nodes specified in the override.

      Parameters:
      numNodes - The number of nodes to use with a multi-node parallel job. This value overrides the number of nodes that are specified in the job definition. To use this override, you must meet the following conditions:

      • There must be at least one node range in your job definition that has an open upper boundary, such as : or n:.

      • The lower boundary of the node range that's specified in the job definition must be fewer than the number of nodes specified in the override.

      • The main node index that's specified in the job definition must be fewer than the number of nodes specified in the override.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodePropertyOverrides

      NodeOverrides.Builder nodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides)

      The node property overrides for the job.

      Parameters:
      nodePropertyOverrides - The node property overrides for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodePropertyOverrides

      NodeOverrides.Builder nodePropertyOverrides(NodePropertyOverride... nodePropertyOverrides)

      The node property overrides for the job.

      Parameters:
      nodePropertyOverrides - The node property overrides for the job.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • nodePropertyOverrides

      NodeOverrides.Builder nodePropertyOverrides(Consumer<NodePropertyOverride.Builder>... nodePropertyOverrides)

      The node property overrides for the job.

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

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

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