Interface ComputeQuotaSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ComputeQuotaSummary.Builder,ComputeQuotaSummary>,SdkBuilder<ComputeQuotaSummary.Builder,ComputeQuotaSummary>,SdkPojo
- Enclosing class:
- ComputeQuotaSummary
public static interface ComputeQuotaSummary.Builder extends SdkPojo, CopyableBuilder<ComputeQuotaSummary.Builder,ComputeQuotaSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description ComputeQuotaSummary.BuilderactivationState(String activationState)The state of the compute allocation being described.ComputeQuotaSummary.BuilderactivationState(ActivationState activationState)The state of the compute allocation being described.ComputeQuotaSummary.BuilderclusterArn(String clusterArn)ARN of the cluster.ComputeQuotaSummary.BuildercomputeQuotaArn(String computeQuotaArn)ARN of the compute allocation definition.default ComputeQuotaSummary.BuildercomputeQuotaConfig(Consumer<ComputeQuotaConfig.Builder> computeQuotaConfig)Configuration of the compute allocation definition.ComputeQuotaSummary.BuildercomputeQuotaConfig(ComputeQuotaConfig computeQuotaConfig)Configuration of the compute allocation definition.ComputeQuotaSummary.BuildercomputeQuotaId(String computeQuotaId)ID of the compute allocation definition.default ComputeQuotaSummary.BuildercomputeQuotaTarget(Consumer<ComputeQuotaTarget.Builder> computeQuotaTarget)The target entity to allocate compute resources to.ComputeQuotaSummary.BuildercomputeQuotaTarget(ComputeQuotaTarget computeQuotaTarget)The target entity to allocate compute resources to.ComputeQuotaSummary.BuildercomputeQuotaVersion(Integer computeQuotaVersion)Version of the compute allocation definition.ComputeQuotaSummary.BuildercreationTime(Instant creationTime)Creation time of the compute allocation definition.ComputeQuotaSummary.BuilderlastModifiedTime(Instant lastModifiedTime)Last modified time of the compute allocation definition.ComputeQuotaSummary.Buildername(String name)Name of the compute allocation definition.ComputeQuotaSummary.Builderstatus(String status)Status of the compute allocation definition.ComputeQuotaSummary.Builderstatus(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 Detail
-
computeQuotaArn
ComputeQuotaSummary.Builder computeQuotaArn(String 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
ComputeQuotaSummary.Builder computeQuotaId(String 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
ComputeQuotaSummary.Builder name(String 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
ComputeQuotaSummary.Builder computeQuotaVersion(Integer 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
ComputeQuotaSummary.Builder status(String 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:
SchedulerResourceStatus,SchedulerResourceStatus
-
status
ComputeQuotaSummary.Builder status(SchedulerResourceStatus 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:
SchedulerResourceStatus,SchedulerResourceStatus
-
clusterArn
ComputeQuotaSummary.Builder clusterArn(String 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
ComputeQuotaSummary.Builder computeQuotaConfig(ComputeQuotaConfig 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.Builderavoiding the need to create one manually viaComputeQuotaConfig.builder().When the
Consumercompletes,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:
computeQuotaConfig(ComputeQuotaConfig)
-
computeQuotaTarget
ComputeQuotaSummary.Builder computeQuotaTarget(ComputeQuotaTarget 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.Builderavoiding the need to create one manually viaComputeQuotaTarget.builder().When the
Consumercompletes,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:
computeQuotaTarget(ComputeQuotaTarget)
-
activationState
ComputeQuotaSummary.Builder activationState(String 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,ActivationState
-
activationState
ComputeQuotaSummary.Builder activationState(ActivationState 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,ActivationState
-
creationTime
ComputeQuotaSummary.Builder creationTime(Instant 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
ComputeQuotaSummary.Builder lastModifiedTime(Instant 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.
-
-