Interface DescribeComputeQuotaResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeComputeQuotaResponse.Builder,
,DescribeComputeQuotaResponse> SageMakerResponse.Builder
,SdkBuilder<DescribeComputeQuotaResponse.Builder,
,DescribeComputeQuotaResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeComputeQuotaResponse
-
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.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.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.createdBy
(Consumer<UserContext.Builder> createdBy) Sets the value of the CreatedBy property for this object.createdBy
(UserContext createdBy) Sets the value of the CreatedBy property for this object.creationTime
(Instant creationTime) Creation time of the compute allocation configuration.description
(String description) Description of the compute allocation definition.failureReason
(String failureReason) Failure reason of the compute allocation definition.lastModifiedBy
(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedBy
(UserContext lastModifiedBy) Sets the value of the LastModifiedBy property for this object.lastModifiedTime
(Instant lastModifiedTime) Last modified time of the compute allocation configuration.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.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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.
-
description
Description of the compute allocation definition.
- Parameters:
description
- Description 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:
-
failureReason
Failure reason of the compute allocation definition.
- Parameters:
failureReason
- Failure reason of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 DescribeComputeQuotaResponse.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 DescribeComputeQuotaResponse.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 configuration.
- Parameters:
creationTime
- Creation time of the compute allocation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object.- Parameters:
createdBy
- The new value for the CreatedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocreatedBy(UserContext)
.- Parameters:
createdBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastModifiedTime
Last modified time of the compute allocation configuration.
- Parameters:
lastModifiedTime
- Last modified time of the compute allocation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Sets the value of the LastModifiedBy property for this object.- Parameters:
lastModifiedBy
- The new value for the LastModifiedBy property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
default DescribeComputeQuotaResponse.Builder lastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy) Sets the value of the LastModifiedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builder
avoiding the need to create one manually viaUserContext.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastModifiedBy(UserContext)
.- Parameters:
lastModifiedBy
- a consumer that will call methods onUserContext.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-