Interface CreateComputeQuotaRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateComputeQuotaRequest.Builder,CreateComputeQuotaRequest>,SageMakerRequest.Builder,SdkBuilder<CreateComputeQuotaRequest.Builder,CreateComputeQuotaRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CreateComputeQuotaRequest
public static interface CreateComputeQuotaRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<CreateComputeQuotaRequest.Builder,CreateComputeQuotaRequest>
-
-
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
-
name
CreateComputeQuotaRequest.Builder name(String 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
CreateComputeQuotaRequest.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.
-
clusterArn
CreateComputeQuotaRequest.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
CreateComputeQuotaRequest.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 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.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
CreateComputeQuotaRequest.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 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.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
CreateComputeQuotaRequest.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
CreateComputeQuotaRequest.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
-
tags
CreateComputeQuotaRequest.Builder tags(Collection<Tag> 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
CreateComputeQuotaRequest.Builder tags(Tag... 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
CreateComputeQuotaRequest.Builder tags(Consumer<Tag.Builder>... tags)
Tags of the compute allocation definition.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
overrideConfiguration
CreateComputeQuotaRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CreateComputeQuotaRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-