Interface CreateComputeQuotaRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateComputeQuotaRequest.Builder,
,CreateComputeQuotaRequest> SageMakerRequest.Builder
,SdkBuilder<CreateComputeQuotaRequest.Builder,
,CreateComputeQuotaRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateComputeQuotaRequest
-
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.computeQuotaConfig
(Consumer<ComputeQuotaConfig.Builder> computeQuotaConfig) Configuration of the compute allocation definition.computeQuotaConfig
(ComputeQuotaConfig computeQuotaConfig) Configuration 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.Name to the compute allocation definition.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags
(Collection<Tag> tags) Tags of the compute allocation definition.tags
(Consumer<Tag.Builder>... tags) Tags of the compute allocation definition.Tags of the compute allocation definition.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
-
name
Name to the compute allocation definition.
- Parameters:
name
- Name to 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.
-
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 CreateComputeQuotaRequest.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 CreateComputeQuotaRequest.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:
-
tags
Tags of the compute allocation definition.
- Parameters:
tags
- Tags of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags of the compute allocation definition.
- Parameters:
tags
- Tags of the compute allocation definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Tags of the compute allocation definition.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateComputeQuotaRequest.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
CreateComputeQuotaRequest.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.
-