Interface NodePropertyOverride.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NodePropertyOverride.Builder,NodePropertyOverride>,SdkBuilder<NodePropertyOverride.Builder,NodePropertyOverride>,SdkPojo
- Enclosing class:
- NodePropertyOverride
public static interface NodePropertyOverride.Builder extends SdkPojo, CopyableBuilder<NodePropertyOverride.Builder,NodePropertyOverride>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NodePropertyOverride.BuilderconsumableResourcePropertiesOverride(Consumer<ConsumableResourceProperties.Builder> consumableResourcePropertiesOverride)An object that contains overrides for the consumable resources of a job.NodePropertyOverride.BuilderconsumableResourcePropertiesOverride(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.NodePropertyOverride.BuildercontainerOverrides(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.NodePropertyOverride.BuilderecsPropertiesOverride(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.NodePropertyOverride.BuildereksPropertiesOverride(EksPropertiesOverride eksPropertiesOverride)An object that contains the properties that you want to replace for the existing Amazon EKS resources of a job.NodePropertyOverride.BuilderinstanceTypes(String... instanceTypes)An object that contains the instance types that you want to replace for the existing resources of a job.NodePropertyOverride.BuilderinstanceTypes(Collection<String> instanceTypes)An object that contains the instance types that you want to replace for the existing resources of a job.NodePropertyOverride.BuildertargetNodes(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
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
targetNodes
NodePropertyOverride.Builder targetNodes(String 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
NodePropertyOverride.Builder containerOverrides(ContainerOverrides 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:
containerOverrides(ContainerOverrides)
-
ecsPropertiesOverride
NodePropertyOverride.Builder ecsPropertiesOverride(EcsPropertiesOverride 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:
ecsPropertiesOverride(EcsPropertiesOverride)
-
instanceTypes
NodePropertyOverride.Builder instanceTypes(Collection<String> 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
NodePropertyOverride.Builder instanceTypes(String... 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
NodePropertyOverride.Builder eksPropertiesOverride(EksPropertiesOverride 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:
eksPropertiesOverride(EksPropertiesOverride)
-
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:
consumableResourcePropertiesOverride(ConsumableResourceProperties)
-
-