Interface NodeRangeProperty.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NodeRangeProperty.Builder,,NodeRangeProperty> SdkBuilder<NodeRangeProperty.Builder,,NodeRangeProperty> SdkPojo
- Enclosing class:
NodeRangeProperty
-
Method Summary
Modifier and TypeMethodDescriptiondefault NodeRangeProperty.BuilderconsumableResourceProperties(Consumer<ConsumableResourceProperties.Builder> consumableResourceProperties) Contains a list of consumable resources required by a job.consumableResourceProperties(ConsumableResourceProperties consumableResourceProperties) Contains a list of consumable resources required by a job.default NodeRangeProperty.Buildercontainer(Consumer<ContainerProperties.Builder> container) The container details for the node range.container(ContainerProperties container) The container details for the node range.default NodeRangeProperty.BuilderecsProperties(Consumer<EcsProperties.Builder> ecsProperties) This is an object that represents the properties of the node range for a multi-node parallel job.ecsProperties(EcsProperties ecsProperties) This is an object that represents the properties of the node range for a multi-node parallel job.default NodeRangeProperty.BuildereksProperties(Consumer<EksProperties.Builder> eksProperties) This is an object that represents the properties of the node range for a multi-node parallel job.eksProperties(EksProperties eksProperties) This is an object that represents the properties of the node range for a multi-node parallel job.instanceTypes(String... instanceTypes) The instance types of the underlying host infrastructure of a multi-node parallel job.instanceTypes(Collection<String> instanceTypes) The instance types of the underlying host infrastructure of a multi-node parallel job.targetNodes(String targetNodes) The range of nodes, using node index values.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
-
targetNodes
The range of nodes, using node index values. A range of
0:3indicates nodes with index values of0through3. If the starting range value is omitted (:n), then0is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example,0:10and4:5). In this case, the4:5range properties override the0:10properties.- Parameters:
targetNodes- The range of nodes, using node index values. A range of0:3indicates nodes with index values of0through3. If the starting range value is omitted (:n), then0is used to start the range. If the ending range value is omitted (n:), then the highest possible node index is used to end the range. Your accumulative node ranges must account for all nodes (0:n). You can nest node ranges (for example,0:10and4:5). In this case, the4:5range properties override the0:10properties.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
The container details for the node range.
- Parameters:
container- The container details for the node range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
container
The container details for the node range.
This is a convenience method that creates an instance of theContainerProperties.Builderavoiding the need to create one manually viaContainerProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainer(ContainerProperties).- Parameters:
container- a consumer that will call methods onContainerProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceTypes
The instance types of the underlying host infrastructure of a multi-node parallel job.
This parameter isn't applicable to jobs that are running on Fargate resources.
In addition, this list object is currently limited to one element.
- Parameters:
instanceTypes- The instance types of the underlying host infrastructure of a multi-node parallel job.This parameter isn't applicable to jobs that are running on Fargate resources.
In addition, this list object is currently limited to one element.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
The instance types of the underlying host infrastructure of a multi-node parallel job.
This parameter isn't applicable to jobs that are running on Fargate resources.
In addition, this list object is currently limited to one element.
- Parameters:
instanceTypes- The instance types of the underlying host infrastructure of a multi-node parallel job.This parameter isn't applicable to jobs that are running on Fargate resources.
In addition, this list object is currently limited to one element.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsProperties
This is an object that represents the properties of the node range for a multi-node parallel job.
- Parameters:
ecsProperties- This is an object that represents the properties of the node range for a multi-node parallel job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsProperties
This is an object that represents the properties of the node range for a multi-node parallel job.
This is a convenience method that creates an instance of theEcsProperties.Builderavoiding the need to create one manually viaEcsProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecsProperties(EcsProperties).- Parameters:
ecsProperties- a consumer that will call methods onEcsProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
eksProperties
This is an object that represents the properties of the node range for a multi-node parallel job.
- Parameters:
eksProperties- This is an object that represents the properties of the node range for a multi-node parallel job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksProperties
This is an object that represents the properties of the node range for a multi-node parallel job.
This is a convenience method that creates an instance of theEksProperties.Builderavoiding the need to create one manually viaEksProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeksProperties(EksProperties).- Parameters:
eksProperties- a consumer that will call methods onEksProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consumableResourceProperties
NodeRangeProperty.Builder consumableResourceProperties(ConsumableResourceProperties consumableResourceProperties) Contains a list of consumable resources required by a job.
- Parameters:
consumableResourceProperties- Contains a list of consumable resources required by a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumableResourceProperties
default NodeRangeProperty.Builder consumableResourceProperties(Consumer<ConsumableResourceProperties.Builder> consumableResourceProperties) Contains a list of consumable resources required by a job.
This is a convenience method that creates an instance of theConsumableResourceProperties.Builderavoiding the need to create one manually viaConsumableResourceProperties.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconsumableResourceProperties(ConsumableResourceProperties).- Parameters:
consumableResourceProperties- a consumer that will call methods onConsumableResourceProperties.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-