Interface NodeOverrides.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NodeOverrides.Builder,,NodeOverrides> SdkBuilder<NodeOverrides.Builder,,NodeOverrides> SdkPojo
- Enclosing class:
NodeOverrides
-
Method Summary
Modifier and TypeMethodDescriptionnodePropertyOverrides(Collection<NodePropertyOverride> nodePropertyOverrides) The node property overrides for the job.nodePropertyOverrides(Consumer<NodePropertyOverride.Builder>... nodePropertyOverrides) The node property overrides for the job.nodePropertyOverrides(NodePropertyOverride... nodePropertyOverrides) The node property overrides for the job.The number of nodes to use with a multi-node parallel job.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
:orn:. -
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
:orn:. -
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
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
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 theNodePropertyOverride.Builderavoiding the need to create one manually viaNodePropertyOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodePropertyOverrides(List<NodePropertyOverride>).- Parameters:
nodePropertyOverrides- a consumer that will call methods onNodePropertyOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-