Interface DescribeComputeQuotaResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeComputeQuotaResponse.Builder,DescribeComputeQuotaResponse>,SageMakerResponse.Builder,SdkBuilder<DescribeComputeQuotaResponse.Builder,DescribeComputeQuotaResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DescribeComputeQuotaResponse
public static interface DescribeComputeQuotaResponse.Builder extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<DescribeComputeQuotaResponse.Builder,DescribeComputeQuotaResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeComputeQuotaResponse.BuilderactivationState(String activationState)The state of the compute allocation being described.DescribeComputeQuotaResponse.BuilderactivationState(ActivationState activationState)The state of the compute allocation being described.DescribeComputeQuotaResponse.BuilderclusterArn(String clusterArn)ARN of the cluster.DescribeComputeQuotaResponse.BuildercomputeQuotaArn(String computeQuotaArn)ARN of the compute allocation definition.default DescribeComputeQuotaResponse.BuildercomputeQuotaConfig(Consumer<ComputeQuotaConfig.Builder> computeQuotaConfig)Configuration of the compute allocation definition.DescribeComputeQuotaResponse.BuildercomputeQuotaConfig(ComputeQuotaConfig computeQuotaConfig)Configuration of the compute allocation definition.DescribeComputeQuotaResponse.BuildercomputeQuotaId(String computeQuotaId)ID of the compute allocation definition.default DescribeComputeQuotaResponse.BuildercomputeQuotaTarget(Consumer<ComputeQuotaTarget.Builder> computeQuotaTarget)The target entity to allocate compute resources to.DescribeComputeQuotaResponse.BuildercomputeQuotaTarget(ComputeQuotaTarget computeQuotaTarget)The target entity to allocate compute resources to.DescribeComputeQuotaResponse.BuildercomputeQuotaVersion(Integer computeQuotaVersion)Version of the compute allocation definition.default DescribeComputeQuotaResponse.BuildercreatedBy(Consumer<UserContext.Builder> createdBy)Sets the value of the CreatedBy property for this object.DescribeComputeQuotaResponse.BuildercreatedBy(UserContext createdBy)Sets the value of the CreatedBy property for this object.DescribeComputeQuotaResponse.BuildercreationTime(Instant creationTime)Creation time of the compute allocation configuration.DescribeComputeQuotaResponse.Builderdescription(String description)Description of the compute allocation definition.DescribeComputeQuotaResponse.BuilderfailureReason(String failureReason)Failure reason of the compute allocation definition.default DescribeComputeQuotaResponse.BuilderlastModifiedBy(Consumer<UserContext.Builder> lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeComputeQuotaResponse.BuilderlastModifiedBy(UserContext lastModifiedBy)Sets the value of the LastModifiedBy property for this object.DescribeComputeQuotaResponse.BuilderlastModifiedTime(Instant lastModifiedTime)Last modified time of the compute allocation configuration.DescribeComputeQuotaResponse.Buildername(String name)Name of the compute allocation definition.DescribeComputeQuotaResponse.Builderstatus(String status)Status of the compute allocation definition.DescribeComputeQuotaResponse.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.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 Detail
-
computeQuotaArn
DescribeComputeQuotaResponse.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
DescribeComputeQuotaResponse.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
DescribeComputeQuotaResponse.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.
-
description
DescribeComputeQuotaResponse.Builder description(String 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
DescribeComputeQuotaResponse.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
DescribeComputeQuotaResponse.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
DescribeComputeQuotaResponse.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
-
failureReason
DescribeComputeQuotaResponse.Builder failureReason(String 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
DescribeComputeQuotaResponse.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
DescribeComputeQuotaResponse.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 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.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
DescribeComputeQuotaResponse.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 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.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
DescribeComputeQuotaResponse.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
DescribeComputeQuotaResponse.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
DescribeComputeQuotaResponse.Builder creationTime(Instant 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
DescribeComputeQuotaResponse.Builder createdBy(UserContext 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
default DescribeComputeQuotaResponse.Builder createdBy(Consumer<UserContext.Builder> createdBy)
Sets the value of the CreatedBy property for this object. This is a convenience method that creates an instance of theUserContext.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,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:
createdBy(UserContext)
-
lastModifiedTime
DescribeComputeQuotaResponse.Builder lastModifiedTime(Instant 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
DescribeComputeQuotaResponse.Builder lastModifiedBy(UserContext 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.Builderavoiding the need to create one manually viaUserContext.builder().When the
Consumercompletes,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:
lastModifiedBy(UserContext)
-
-