Interface NodePropertyOverride.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NodePropertyOverride.Builder,,NodePropertyOverride> SdkBuilder<NodePropertyOverride.Builder,,NodePropertyOverride> SdkPojo
- Enclosing class:
NodePropertyOverride
-
Method Summary
Modifier and TypeMethodDescriptiondefault NodePropertyOverride.BuilderconsumableResourcePropertiesOverride(Consumer<ConsumableResourceProperties.Builder> consumableResourcePropertiesOverride) An object that contains overrides for the consumable resources of a job.consumableResourcePropertiesOverride(ConsumableResourceProperties consumableResourcePropertiesOverride) An object that contains overrides for the consumable resources of a job.default NodePropertyOverride.BuildercontainerOverrides(Consumer<ContainerOverrides.Builder> containerOverrides) The overrides that are sent to a node range.containerOverrides(ContainerOverrides containerOverrides) The overrides that are sent to a node range.default NodePropertyOverride.BuilderecsPropertiesOverride(Consumer<EcsPropertiesOverride.Builder> ecsPropertiesOverride) An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.ecsPropertiesOverride(EcsPropertiesOverride ecsPropertiesOverride) An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.default NodePropertyOverride.BuildereksPropertiesOverride(Consumer<EksPropertiesOverride.Builder> eksPropertiesOverride) An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.eksPropertiesOverride(EksPropertiesOverride eksPropertiesOverride) An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.instanceTypes(String... instanceTypes) An object that contains the instance types that you want to replace for the existing resources of a job.instanceTypes(Collection<String> instanceTypes) An object that contains the instance types that you want to replace for the existing resources of a job.targetNodes(String targetNodes) The range of nodes, using node index values, that's used to override.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, that's used to override. 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.- Parameters:
targetNodes- The range of nodes, using node index values, that's used to override. 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerOverrides
The overrides that are sent to a node range.
- Parameters:
containerOverrides- The overrides that are sent to a node range.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerOverrides
default NodePropertyOverride.Builder containerOverrides(Consumer<ContainerOverrides.Builder> containerOverrides) The overrides that are sent to a node range.
This is a convenience method that creates an instance of theContainerOverrides.Builderavoiding the need to create one manually viaContainerOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerOverrides(ContainerOverrides).- Parameters:
containerOverrides- a consumer that will call methods onContainerOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ecsPropertiesOverride
An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.
- Parameters:
ecsPropertiesOverride- An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ecsPropertiesOverride
default NodePropertyOverride.Builder ecsPropertiesOverride(Consumer<EcsPropertiesOverride.Builder> ecsPropertiesOverride) An object that contains the properties that you want to replace for the existing Amazon ECS resources of a job.
This is a convenience method that creates an instance of theEcsPropertiesOverride.Builderavoiding the need to create one manually viaEcsPropertiesOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toecsPropertiesOverride(EcsPropertiesOverride).- Parameters:
ecsPropertiesOverride- a consumer that will call methods onEcsPropertiesOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceTypes
An object that contains the instance types that you want to replace for the existing resources of a job.
- Parameters:
instanceTypes- An object that contains the instance types that you want to replace for the existing resources of a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceTypes
An object that contains the instance types that you want to replace for the existing resources of a job.
- Parameters:
instanceTypes- An object that contains the instance types that you want to replace for the existing resources of a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksPropertiesOverride
An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.
- Parameters:
eksPropertiesOverride- An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eksPropertiesOverride
default NodePropertyOverride.Builder eksPropertiesOverride(Consumer<EksPropertiesOverride.Builder> eksPropertiesOverride) An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.
This is a convenience method that creates an instance of theEksPropertiesOverride.Builderavoiding the need to create one manually viaEksPropertiesOverride.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toeksPropertiesOverride(EksPropertiesOverride).- Parameters:
eksPropertiesOverride- a consumer that will call methods onEksPropertiesOverride.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
consumableResourcePropertiesOverride
NodePropertyOverride.Builder consumableResourcePropertiesOverride(ConsumableResourceProperties consumableResourcePropertiesOverride) An object that contains overrides for the consumable resources of a job.
- Parameters:
consumableResourcePropertiesOverride- An object that contains overrides for the consumable resources of a job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
consumableResourcePropertiesOverride
default NodePropertyOverride.Builder consumableResourcePropertiesOverride(Consumer<ConsumableResourceProperties.Builder> consumableResourcePropertiesOverride) An object that contains overrides for the consumable resources of 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 toconsumableResourcePropertiesOverride(ConsumableResourceProperties).- Parameters:
consumableResourcePropertiesOverride- 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:
-