Interface ComputeQuotaConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeQuotaConfig.Builder,,ComputeQuotaConfig> SdkBuilder<ComputeQuotaConfig.Builder,,ComputeQuotaConfig> SdkPojo
- Enclosing class:
ComputeQuotaConfig
-
Method Summary
Modifier and TypeMethodDescriptioncomputeQuotaResources(Collection<ComputeQuotaResourceConfig> computeQuotaResources) Allocate compute resources by instance types.computeQuotaResources(Consumer<ComputeQuotaResourceConfig.Builder>... computeQuotaResources) Allocate compute resources by instance types.computeQuotaResources(ComputeQuotaResourceConfig... computeQuotaResources) Allocate compute resources by instance types.preemptTeamTasks(String preemptTeamTasks) Allows workloads from within an entity to preempt same-team workloads.preemptTeamTasks(PreemptTeamTasks preemptTeamTasks) Allows workloads from within an entity to preempt same-team workloads.default ComputeQuotaConfig.BuilderresourceSharingConfig(Consumer<ResourceSharingConfig.Builder> resourceSharingConfig) Resource sharing configuration.resourceSharingConfig(ResourceSharingConfig resourceSharingConfig) Resource sharing configuration.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
-
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 tocomputeQuotaResources(List<ComputeQuotaResourceConfig>).- 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:
-
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:
-
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
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:
-