Interface NodeProperties.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NodeProperties.Builder,,NodeProperties> SdkBuilder<NodeProperties.Builder,,NodeProperties> SdkPojo
- Enclosing class:
NodeProperties
@Mutable
@NotThreadSafe
public static interface NodeProperties.Builder
extends SdkPojo, CopyableBuilder<NodeProperties.Builder,NodeProperties>
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the node index for the main node of a multi-node parallel job.nodeRangeProperties(Collection<NodeRangeProperty> nodeRangeProperties) A list of node ranges and their properties that are associated with a multi-node parallel job.nodeRangeProperties(Consumer<NodeRangeProperty.Builder>... nodeRangeProperties) A list of node ranges and their properties that are associated with a multi-node parallel job.nodeRangeProperties(NodeRangeProperty... nodeRangeProperties) A list of node ranges and their properties that are associated with a multi-node parallel job.The number of nodes that are associated 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 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
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
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
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 theNodeRangeProperty.Builderavoiding the need to create one manually viaNodeRangeProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodeRangeProperties(List<NodeRangeProperty>).- Parameters:
nodeRangeProperties- a consumer that will call methods onNodeRangeProperty.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-