Interface CreateClusterExtensionRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateClusterExtensionRequest.Builder,,CreateClusterExtensionRequest> SageMakerRequest.Builder,SdkBuilder<CreateClusterExtensionRequest.Builder,,CreateClusterExtensionRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateClusterExtensionRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide so that the operation completes no more than one time.clusterArn(String clusterArn) The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which to install the extension.configurationValues(String configurationValues) The configuration settings for the extension, as a JSON object serialized as a string, for example{"metricsProvider":{"nodeMetrics":{"level":"ADVANCED"}}}.extensionName(String extensionName) The name of the extension to install, for examplesagemaker-observability.extensionVersion(String extensionVersion) The version of the extension to install, inMAJOR.MINOR.PATCHformat, for example1.0.0.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) Custom tags for managing the extension as an Amazon Web Services resource.tags(Consumer<Tag.Builder>... tags) Custom tags for managing the extension as an Amazon Web Services resource.Custom tags for managing the extension as an Amazon Web Services resource.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
-
clusterArn
The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which to install the extension. The cluster must use Slurm as the orchestrator and have
NodeProvisioningModeset toContinuous.- Parameters:
clusterArn- The Amazon Resource Name (ARN) of the SageMaker HyperPod cluster on which to install the extension. The cluster must use Slurm as the orchestrator and haveNodeProvisioningModeset toContinuous.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionName
The name of the extension to install, for example
sagemaker-observability.- Parameters:
extensionName- The name of the extension to install, for examplesagemaker-observability.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extensionVersion
The version of the extension to install, in
MAJOR.MINOR.PATCHformat, for example1.0.0. If you don't specify a version, SageMaker HyperPod installs the latest available version of the extension.- Parameters:
extensionVersion- The version of the extension to install, inMAJOR.MINOR.PATCHformat, for example1.0.0. If you don't specify a version, SageMaker HyperPod installs the latest available version of the extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configurationValues
The configuration settings for the extension, as a JSON object serialized as a string, for example
{"metricsProvider":{"nodeMetrics":{"level":"ADVANCED"}}}. Each extension version defines which settings it accepts. SageMaker HyperPod validates the settings against that definition, and rejects the request if a setting is unknown or has an invalid value. Settings that you omit use the extension's default values. If you omitConfigurationValues, all settings use their default values.- Parameters:
configurationValues- The configuration settings for the extension, as a JSON object serialized as a string, for example{"metricsProvider":{"nodeMetrics":{"level":"ADVANCED"}}}. Each extension version defines which settings it accepts. SageMaker HyperPod validates the settings against that definition, and rejects the request if a setting is unknown or has an invalid value. Settings that you omit use the extension's default values. If you omitConfigurationValues, all settings use their default values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Custom tags for managing the extension as an Amazon Web Services resource. You can add tags to your extension in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide. To use this operation to add tags when you create an extension, you must have the
sagemaker:AddTagspermission.- Parameters:
tags- Custom tags for managing the extension as an Amazon Web Services resource. You can add tags to your extension in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide. To use this operation to add tags when you create an extension, you must have thesagemaker:AddTagspermission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Custom tags for managing the extension as an Amazon Web Services resource. You can add tags to your extension in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide. To use this operation to add tags when you create an extension, you must have the
sagemaker:AddTagspermission.- Parameters:
tags- Custom tags for managing the extension as an Amazon Web Services resource. You can add tags to your extension in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide. To use this operation to add tags when you create an extension, you must have thesagemaker:AddTagspermission.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Custom tags for managing the extension as an Amazon Web Services resource. You can add tags to your extension in the same way you add them in other Amazon Web Services services that support tagging. To learn more about tagging Amazon Web Services resources in general, see Tagging Amazon Web Services Resources User Guide. To use this operation to add tags when you create an extension, you must have the
This is a convenience method that creates an instance of thesagemaker:AddTagspermission.Tag.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:
-
clientToken
A unique, case-sensitive identifier that you provide so that the operation completes no more than one time. This token is valid for 8 hours. If you retry the request with the same client token and the same parameters within this time, the API returns the Amazon Resource Name (ARN) of the extension that the original request created, without creating a duplicate. If you use the same client token with different parameters, the request fails.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide so that the operation completes no more than one time. This token is valid for 8 hours. If you retry the request with the same client token and the same parameters within this time, the API returns the Amazon Resource Name (ARN) of the extension that the original request created, without creating a duplicate. If you use the same client token with different parameters, the request fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateClusterExtensionRequest.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
CreateClusterExtensionRequest.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.
-