public static interface NodeOverrides.Builder extends SdkPojo, CopyableBuilder<NodeOverrides.Builder,NodeOverrides>
| Modifier and Type | Method and Description |
|---|---|
NodeOverrides.Builder |
nodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides)
The node property overrides for the job.
|
NodeOverrides.Builder |
nodePropertyOverrides(Consumer<NodePropertyOverride.Builder>... nodePropertyOverrides)
The node property overrides for the job.
|
NodeOverrides.Builder |
nodePropertyOverrides(NodePropertyOverride... nodePropertyOverrides)
The node property overrides for the job.
|
NodeOverrides.Builder |
numNodes(Integer numNodes)
The number of nodes to use with a multi-node parallel job.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNodeOverrides.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.
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.
NodeOverrides.Builder nodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides)
The node property overrides for the job.
nodePropertyOverrides - The node property overrides for the job.NodeOverrides.Builder nodePropertyOverrides(NodePropertyOverride... nodePropertyOverrides)
The node property overrides for the job.
nodePropertyOverrides - The node property overrides for the job.NodeOverrides.Builder nodePropertyOverrides(Consumer<NodePropertyOverride.Builder>... nodePropertyOverrides)
The node property overrides for the job.
This is a convenience method that creates an instance of theNodePropertyOverride.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.
nodePropertyOverrides - a consumer that will call methods on
NodePropertyOverride.Builder#nodePropertyOverrides(java.util.Collection) Copyright © 2023. All rights reserved.