Interface ComputeQuotaConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeQuotaConfig.Builder,ComputeQuotaConfig>,SdkBuilder<ComputeQuotaConfig.Builder,ComputeQuotaConfig>,SdkPojo
- Enclosing class:
- ComputeQuotaConfig
public static interface ComputeQuotaConfig.Builder extends SdkPojo, CopyableBuilder<ComputeQuotaConfig.Builder,ComputeQuotaConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ComputeQuotaConfig.BuildercomputeQuotaResources(Collection<ComputeQuotaResourceConfig> computeQuotaResources)Allocate compute resources by instance types.ComputeQuotaConfig.BuildercomputeQuotaResources(Consumer<ComputeQuotaResourceConfig.Builder>... computeQuotaResources)Allocate compute resources by instance types.ComputeQuotaConfig.BuildercomputeQuotaResources(ComputeQuotaResourceConfig... computeQuotaResources)Allocate compute resources by instance types.ComputeQuotaConfig.BuilderpreemptTeamTasks(String preemptTeamTasks)Allows workloads from within an entity to preempt same-team workloads.ComputeQuotaConfig.BuilderpreemptTeamTasks(PreemptTeamTasks preemptTeamTasks)Allows workloads from within an entity to preempt same-team workloads.default ComputeQuotaConfig.BuilderresourceSharingConfig(Consumer<ResourceSharingConfig.Builder> resourceSharingConfig)Resource sharing configuration.ComputeQuotaConfig.BuilderresourceSharingConfig(ResourceSharingConfig resourceSharingConfig)Resource sharing configuration.-
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
-
computeQuotaResources
ComputeQuotaConfig.Builder computeQuotaResources(Collection<ComputeQuotaResourceConfig> computeQuotaResources)
Allocate compute resources by instance types.
- Parameters:
computeQuotaResources- Allocate compute resources by instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaResources
ComputeQuotaConfig.Builder computeQuotaResources(ComputeQuotaResourceConfig... computeQuotaResources)
Allocate compute resources by instance types.
- Parameters:
computeQuotaResources- Allocate compute resources by instance types.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaResources
ComputeQuotaConfig.Builder computeQuotaResources(Consumer<ComputeQuotaResourceConfig.Builder>... computeQuotaResources)
Allocate compute resources by instance types.
This is a convenience method that creates an instance of theComputeQuotaResourceConfig.Builderavoiding the need to create one manually viaComputeQuotaResourceConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#computeQuotaResources(List.) - Parameters:
computeQuotaResources- a consumer that will call methods onComputeQuotaResourceConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#computeQuotaResources(java.util.Collection)
-
resourceSharingConfig
ComputeQuotaConfig.Builder resourceSharingConfig(ResourceSharingConfig resourceSharingConfig)
Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.
- Parameters:
resourceSharingConfig- Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceSharingConfig
default ComputeQuotaConfig.Builder resourceSharingConfig(Consumer<ResourceSharingConfig.Builder> resourceSharingConfig)
Resource sharing configuration. This defines how an entity can lend and borrow idle compute with other entities within the cluster.
This is a convenience method that creates an instance of theResourceSharingConfig.Builderavoiding the need to create one manually viaResourceSharingConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceSharingConfig(ResourceSharingConfig).- Parameters:
resourceSharingConfig- a consumer that will call methods onResourceSharingConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
resourceSharingConfig(ResourceSharingConfig)
-
preemptTeamTasks
ComputeQuotaConfig.Builder preemptTeamTasks(String preemptTeamTasks)
Allows workloads from within an entity to preempt same-team workloads. When set to
LowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks.Default is
LowerPriority.- Parameters:
preemptTeamTasks- Allows workloads from within an entity to preempt same-team workloads. When set toLowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks.Default is
LowerPriority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PreemptTeamTasks,PreemptTeamTasks
-
preemptTeamTasks
ComputeQuotaConfig.Builder preemptTeamTasks(PreemptTeamTasks preemptTeamTasks)
Allows workloads from within an entity to preempt same-team workloads. When set to
LowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks.Default is
LowerPriority.- Parameters:
preemptTeamTasks- Allows workloads from within an entity to preempt same-team workloads. When set toLowerPriority, the entity's lower priority tasks are preempted by their own higher priority tasks.Default is
LowerPriority.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PreemptTeamTasks,PreemptTeamTasks
-
-