Interface UpdateComputeQuotaRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateComputeQuotaRequest.Builder,
,UpdateComputeQuotaRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateComputeQuotaRequest.Builder,
,UpdateComputeQuotaRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateComputeQuotaRequest
-
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.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.description
(String description) Description of the compute allocation definition.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.targetVersion
(Integer targetVersion) Target version.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 Details
-
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
Target version.
- Parameters:
targetVersion
- Target version.- 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 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:
-
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:
-
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:
-
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) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateComputeQuotaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-