Interface ComputeQuotaSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ComputeQuotaSummary.Builder,
,ComputeQuotaSummary> SdkBuilder<ComputeQuotaSummary.Builder,
,ComputeQuotaSummary> SdkPojo
- Enclosing class:
ComputeQuotaSummary
-
Method Summary
Modifier and TypeMethodDescriptionactivationState
(String activationState) The state of the compute allocation being described.activationState
(ActivationState activationState) The state of the compute allocation being described.clusterArn
(String clusterArn) ARN of the cluster.computeQuotaArn
(String computeQuotaArn) ARN of the compute allocation definition.default ComputeQuotaSummary.Builder
computeQuotaConfig
(Consumer<ComputeQuotaConfig.Builder> computeQuotaConfig) Configuration of the compute allocation definition.computeQuotaConfig
(ComputeQuotaConfig computeQuotaConfig) Configuration of the compute allocation definition.computeQuotaId
(String computeQuotaId) ID of the compute allocation definition.default ComputeQuotaSummary.Builder
computeQuotaTarget
(Consumer<ComputeQuotaTarget.Builder> computeQuotaTarget) The target entity to allocate compute resources to.computeQuotaTarget
(ComputeQuotaTarget computeQuotaTarget) The target entity to allocate compute resources to.computeQuotaVersion
(Integer computeQuotaVersion) Version of the compute allocation definition.creationTime
(Instant creationTime) Creation time of the compute allocation definition.lastModifiedTime
(Instant lastModifiedTime) Last modified time of the compute allocation definition.Name of the compute allocation definition.Status of the compute allocation definition.status
(SchedulerResourceStatus status) Status of the compute allocation definition.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 Details
-
computeQuotaArn
ARN of the compute allocation definition.
- Parameters:
computeQuotaArn
- ARN of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaId
ID of the compute allocation definition.
- Parameters:
computeQuotaId
- ID of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Name of the compute allocation definition.
- Parameters:
name
- Name of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaVersion
Version of the compute allocation definition.
- Parameters:
computeQuotaVersion
- Version of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
Status of the compute allocation definition.
- Parameters:
status
- Status of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
Status of the compute allocation definition.
- Parameters:
status
- Status of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clusterArn
ARN of the cluster.
- Parameters:
clusterArn
- ARN of the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaConfig
Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.
- Parameters:
computeQuotaConfig
- Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaConfig
default ComputeQuotaSummary.Builder computeQuotaConfig(Consumer<ComputeQuotaConfig.Builder> computeQuotaConfig) Configuration of the compute allocation definition. This includes the resource sharing option, and the setting to preempt low priority tasks.
This is a convenience method that creates an instance of theComputeQuotaConfig.Builder
avoiding the need to create one manually viaComputeQuotaConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeQuotaConfig(ComputeQuotaConfig)
.- Parameters:
computeQuotaConfig
- a consumer that will call methods onComputeQuotaConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
computeQuotaTarget
The target entity to allocate compute resources to.
- Parameters:
computeQuotaTarget
- The target entity to allocate compute resources to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaTarget
default ComputeQuotaSummary.Builder computeQuotaTarget(Consumer<ComputeQuotaTarget.Builder> computeQuotaTarget) The target entity to allocate compute resources to.
This is a convenience method that creates an instance of theComputeQuotaTarget.Builder
avoiding the need to create one manually viaComputeQuotaTarget.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocomputeQuotaTarget(ComputeQuotaTarget)
.- Parameters:
computeQuotaTarget
- a consumer that will call methods onComputeQuotaTarget.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activationState
The state of the compute allocation being described. Use to enable or disable compute allocation.
Default is
Enabled
.- Parameters:
activationState
- The state of the compute allocation being described. Use to enable or disable compute allocation.Default is
Enabled
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
activationState
The state of the compute allocation being described. Use to enable or disable compute allocation.
Default is
Enabled
.- Parameters:
activationState
- The state of the compute allocation being described. Use to enable or disable compute allocation.Default is
Enabled
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
creationTime
Creation time of the compute allocation definition.
- Parameters:
creationTime
- Creation time of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTime
Last modified time of the compute allocation definition.
- Parameters:
lastModifiedTime
- Last modified time of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-