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.The name 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.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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the compute allocation definition. The name must be unique within the SageMaker AI HyperPod cluster specified by
ClusterArn. You can use the same name in other clusters within a Region or across Regions.- Parameters:
name- The name of the compute allocation definition. The name must be unique within the SageMaker AI HyperPod cluster specified byClusterArn. You can use the same name in other clusters within a Region or across Regions.- 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.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:
-
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:
-
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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-