Interface NodeProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodeProperties.Builder,NodeProperties>,SdkBuilder<NodeProperties.Builder,NodeProperties>,SdkPojo
- Enclosing class:
- NodeProperties
public static interface NodeProperties.Builder extends SdkPojo, CopyableBuilder<NodeProperties.Builder,NodeProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NodeProperties.BuildermainNode(Integer mainNode)Specifies the node index for the main node of a multi-node parallel job.NodeProperties.BuildernodeRangeProperties(Collection<NodeRangeProperty> nodeRangeProperties)A list of node ranges and their properties that are associated with a multi-node parallel job.NodeProperties.BuildernodeRangeProperties(Consumer<NodeRangeProperty.Builder>... nodeRangeProperties)A list of node ranges and their properties that are associated with a multi-node parallel job.NodeProperties.BuildernodeRangeProperties(NodeRangeProperty... nodeRangeProperties)A list of node ranges and their properties that are associated with a multi-node parallel job.NodeProperties.BuildernumNodes(Integer numNodes)The number of nodes that are associated with a multi-node parallel job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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 theNodeRangeProperty.Builderavoiding the need to create one manually viaNodeRangeProperty.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#nodeRangeProperties(List.) - 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:
#nodeRangeProperties(java.util.Collection)
-
-