Interface UpdateComputeQuotaRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateComputeQuotaRequest.Builder,UpdateComputeQuotaRequest>
,SageMakerRequest.Builder
,SdkBuilder<UpdateComputeQuotaRequest.Builder,UpdateComputeQuotaRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateComputeQuotaRequest
public static interface UpdateComputeQuotaRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateComputeQuotaRequest.Builder,UpdateComputeQuotaRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
-
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
-
computeQuotaId
UpdateComputeQuotaRequest.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.
-
targetVersion
UpdateComputeQuotaRequest.Builder targetVersion(Integer targetVersion)
Target version.
- Parameters:
targetVersion
- Target version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
computeQuotaConfig
UpdateComputeQuotaRequest.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 UpdateComputeQuotaRequest.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:
computeQuotaConfig(ComputeQuotaConfig)
-
computeQuotaTarget
UpdateComputeQuotaRequest.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 UpdateComputeQuotaRequest.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:
computeQuotaTarget(ComputeQuotaTarget)
-
activationState
UpdateComputeQuotaRequest.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
UpdateComputeQuotaRequest.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
-
description
UpdateComputeQuotaRequest.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.
-
overrideConfiguration
UpdateComputeQuotaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateComputeQuotaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-