Interface CreateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateClusterRequest.Builder,,CreateClusterRequest> SageMakerRequest.Builder,SdkBuilder<CreateClusterRequest.Builder,,CreateClusterRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterName(String clusterName) The name for the new SageMaker HyperPod cluster.instanceGroups(Collection<ClusterInstanceGroupSpecification> instanceGroups) The instance groups to be created in the SageMaker HyperPod cluster.instanceGroups(Consumer<ClusterInstanceGroupSpecification.Builder>... instanceGroups) The instance groups to be created in the SageMaker HyperPod cluster.instanceGroups(ClusterInstanceGroupSpecification... instanceGroups) The instance groups to be created in the SageMaker HyperPod cluster.nodeRecovery(String nodeRecovery) The node recovery mode for the SageMaker HyperPod cluster.nodeRecovery(ClusterNodeRecovery nodeRecovery) The node recovery mode for the SageMaker HyperPod cluster.default CreateClusterRequest.Builderorchestrator(Consumer<ClusterOrchestrator.Builder> orchestrator) The type of orchestrator to use for the SageMaker HyperPod cluster.orchestrator(ClusterOrchestrator orchestrator) The type of orchestrator to use for the SageMaker HyperPod cluster.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 SageMaker HyperPod cluster as an Amazon Web Services resource.tags(Consumer<Tag.Builder>... tags) Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource.Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource.default CreateClusterRequest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) Sets the value of the VpcConfig property for this object.Sets the value of the VpcConfig property for this object.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, sdkFields
-
Method Details
-
clusterName
The name for the new SageMaker HyperPod cluster.
- Parameters:
clusterName- The name for the new SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
CreateClusterRequest.Builder instanceGroups(Collection<ClusterInstanceGroupSpecification> instanceGroups) The instance groups to be created in the SageMaker HyperPod cluster.
- Parameters:
instanceGroups- The instance groups to be created in the SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
The instance groups to be created in the SageMaker HyperPod cluster.
- Parameters:
instanceGroups- The instance groups to be created in the SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
CreateClusterRequest.Builder instanceGroups(Consumer<ClusterInstanceGroupSpecification.Builder>... instanceGroups) The instance groups to be created in the SageMaker HyperPod cluster.
This is a convenience method that creates an instance of theClusterInstanceGroupSpecification.Builderavoiding the need to create one manually viaClusterInstanceGroupSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toinstanceGroups(List<ClusterInstanceGroupSpecification>).- Parameters:
instanceGroups- a consumer that will call methods onClusterInstanceGroupSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
Sets the value of the VpcConfig property for this object.- Parameters:
vpcConfig- The new value for the VpcConfig property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
Sets the value of the VpcConfig property for this object. This is a convenience method that creates an instance of theVpcConfig.Builderavoiding the need to create one manually viaVpcConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovpcConfig(VpcConfig).- Parameters:
vpcConfig- a consumer that will call methods onVpcConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster 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.
- Parameters:
tags- Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster 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.
- Parameters:
tags- Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Custom tags for managing the SageMaker HyperPod cluster as an Amazon Web Services resource. You can add tags to your cluster 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.
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:
-
orchestrator
The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, the only supported value is
"eks", which is to use an Amazon Elastic Kubernetes Service (EKS) cluster as the orchestrator.- Parameters:
orchestrator- The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, the only supported value is"eks", which is to use an Amazon Elastic Kubernetes Service (EKS) cluster as the orchestrator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
orchestrator
default CreateClusterRequest.Builder orchestrator(Consumer<ClusterOrchestrator.Builder> orchestrator) The type of orchestrator to use for the SageMaker HyperPod cluster. Currently, the only supported value is
This is a convenience method that creates an instance of the"eks", which is to use an Amazon Elastic Kubernetes Service (EKS) cluster as the orchestrator.ClusterOrchestrator.Builderavoiding the need to create one manually viaClusterOrchestrator.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toorchestrator(ClusterOrchestrator).- Parameters:
orchestrator- a consumer that will call methods onClusterOrchestrator.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeRecovery
The node recovery mode for the SageMaker HyperPod cluster. When set to
Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set toNone, cluster administrators will need to manually manage any faulty cluster instances.- Parameters:
nodeRecovery- The node recovery mode for the SageMaker HyperPod cluster. When set toAutomatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set toNone, cluster administrators will need to manually manage any faulty cluster instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeRecovery
The node recovery mode for the SageMaker HyperPod cluster. When set to
Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set toNone, cluster administrators will need to manually manage any faulty cluster instances.- Parameters:
nodeRecovery- The node recovery mode for the SageMaker HyperPod cluster. When set toAutomatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set toNone, cluster administrators will need to manually manage any faulty cluster instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateClusterRequest.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
CreateClusterRequest.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.
-