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 SummaryModifier and TypeMethodDescriptiondefault CreateClusterRequest.BuilderautoScaling(Consumer<ClusterAutoScalingConfig.Builder> autoScaling) The autoscaling configuration for the cluster.autoScaling(ClusterAutoScalingConfig autoScaling) The autoscaling configuration for the cluster.clusterName(String clusterName) The name for the new SageMaker HyperPod cluster.clusterRole(String clusterRole) The Amazon Resource Name (ARN) of the IAM role that HyperPod assumes to perform cluster autoscaling operations.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.nodeProvisioningMode(String nodeProvisioningMode) The mode for provisioning nodes in the cluster.nodeProvisioningMode(ClusterNodeProvisioningMode nodeProvisioningMode) The mode for provisioning nodes in the 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.restrictedInstanceGroups(Collection<ClusterRestrictedInstanceGroupSpecification> restrictedInstanceGroups) The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.restrictedInstanceGroups(Consumer<ClusterRestrictedInstanceGroupSpecification.Builder>... restrictedInstanceGroups) The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.restrictedInstanceGroups(ClusterRestrictedInstanceGroupSpecification... restrictedInstanceGroups) The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.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.BuildertieredStorageConfig(Consumer<ClusterTieredStorageConfig.Builder> tieredStorageConfig) The configuration for managed tier checkpointing on the HyperPod cluster.tieredStorageConfig(ClusterTieredStorageConfig tieredStorageConfig) The configuration for managed tier checkpointing on the HyperPod cluster.default CreateClusterRequest.BuildervpcConfig(Consumer<VpcConfig.Builder> vpcConfig) Specifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster.Specifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
clusterNameThe 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.
 
- 
instanceGroupsCreateClusterRequest.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.
 
- 
instanceGroupsThe 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.
 
- 
instanceGroupsCreateClusterRequest.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 on- ClusterInstanceGroupSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
restrictedInstanceGroupsCreateClusterRequest.Builder restrictedInstanceGroups(Collection<ClusterRestrictedInstanceGroupSpecification> restrictedInstanceGroups) The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster. - Parameters:
- restrictedInstanceGroups- The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
restrictedInstanceGroupsCreateClusterRequest.Builder restrictedInstanceGroups(ClusterRestrictedInstanceGroupSpecification... restrictedInstanceGroups) The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster. - Parameters:
- restrictedInstanceGroups- The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
restrictedInstanceGroupsCreateClusterRequest.Builder restrictedInstanceGroups(Consumer<ClusterRestrictedInstanceGroupSpecification.Builder>... restrictedInstanceGroups) The specialized instance groups for training models like Amazon Nova to be created in the SageMaker HyperPod cluster. This is a convenience method that creates an instance of theClusterRestrictedInstanceGroupSpecification.Builderavoiding the need to create one manually viaClusterRestrictedInstanceGroupSpecification.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torestrictedInstanceGroups(List<ClusterRestrictedInstanceGroupSpecification>).- Parameters:
- restrictedInstanceGroups- a consumer that will call methods on- ClusterRestrictedInstanceGroupSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
vpcConfigSpecifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster. You can control access to and from your resources by configuring your VPC. For more information, see Give SageMaker access to resources in your Amazon VPC. When your Amazon VPC and subnets support IPv6, network communications differ based on the cluster orchestration platform: - 
 Slurm-orchestrated clusters automatically configure nodes with dual IPv6 and IPv4 addresses, allowing immediate IPv6 network communications. 
- 
 In Amazon EKS-orchestrated clusters, nodes receive dual-stack addressing, but pods can only use IPv6 when the Amazon EKS cluster is explicitly IPv6-enabled. For information about deploying an IPv6 Amazon EKS cluster, see Amazon EKS IPv6 Cluster Deployment. 
 Additional resources for IPv6 configuration: - 
 For information about adding IPv6 support to your VPC, see to IPv6 Support for VPC. 
- 
 For information about creating a new IPv6-compatible VPC, see Amazon VPC Creation Guide. 
- 
 To configure SageMaker HyperPod with a custom Amazon VPC, see Custom Amazon VPC Setup for SageMaker HyperPod. 
 - Parameters:
- vpcConfig- Specifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster. You can control access to and from your resources by configuring your VPC. For more information, see Give SageMaker access to resources in your Amazon VPC.- When your Amazon VPC and subnets support IPv6, network communications differ based on the cluster orchestration platform: - 
        Slurm-orchestrated clusters automatically configure nodes with dual IPv6 and IPv4 addresses, allowing immediate IPv6 network communications. 
- 
        In Amazon EKS-orchestrated clusters, nodes receive dual-stack addressing, but pods can only use IPv6 when the Amazon EKS cluster is explicitly IPv6-enabled. For information about deploying an IPv6 Amazon EKS cluster, see Amazon EKS IPv6 Cluster Deployment. 
 - Additional resources for IPv6 configuration: - 
        For information about adding IPv6 support to your VPC, see to IPv6 Support for VPC. 
- 
        For information about creating a new IPv6-compatible VPC, see Amazon VPC Creation Guide. 
- 
        To configure SageMaker HyperPod with a custom Amazon VPC, see Custom Amazon VPC Setup for SageMaker HyperPod. 
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
 
- 
vpcConfigSpecifies the Amazon Virtual Private Cloud (VPC) that is associated with the Amazon SageMaker HyperPod cluster. You can control access to and from your resources by configuring your VPC. For more information, see Give SageMaker access to resources in your Amazon VPC. When your Amazon VPC and subnets support IPv6, network communications differ based on the cluster orchestration platform: - 
 Slurm-orchestrated clusters automatically configure nodes with dual IPv6 and IPv4 addresses, allowing immediate IPv6 network communications. 
- 
 In Amazon EKS-orchestrated clusters, nodes receive dual-stack addressing, but pods can only use IPv6 when the Amazon EKS cluster is explicitly IPv6-enabled. For information about deploying an IPv6 Amazon EKS cluster, see Amazon EKS IPv6 Cluster Deployment. 
 Additional resources for IPv6 configuration: - 
 For information about adding IPv6 support to your VPC, see to IPv6 Support for VPC. 
- 
 For information about creating a new IPv6-compatible VPC, see Amazon VPC Creation Guide. 
- 
 To configure SageMaker HyperPod with a custom Amazon VPC, see Custom Amazon VPC Setup for SageMaker HyperPod. 
 VpcConfig.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 on- VpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
tagsCustom 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.
 
- 
tagsCustom 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.
 
- 
tagsCustom 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 on- Tag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
orchestratorThe 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 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 cluster as the orchestrator.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
orchestratordefault 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 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 on- ClusterOrchestrator.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nodeRecoveryThe 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 to- Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set to- None, 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:
 
- 
nodeRecoveryThe 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 to- Automatic, SageMaker HyperPod will automatically reboot or replace faulty nodes when issues are detected. When set to- None, 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:
 
- 
tieredStorageConfigThe configuration for managed tier checkpointing on the HyperPod cluster. When enabled, this feature uses a multi-tier storage approach for storing model checkpoints, providing faster checkpoint operations and improved fault tolerance across cluster nodes. - Parameters:
- tieredStorageConfig- The configuration for managed tier checkpointing on the HyperPod cluster. When enabled, this feature uses a multi-tier storage approach for storing model checkpoints, providing faster checkpoint operations and improved fault tolerance across cluster nodes.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
tieredStorageConfigdefault CreateClusterRequest.Builder tieredStorageConfig(Consumer<ClusterTieredStorageConfig.Builder> tieredStorageConfig) The configuration for managed tier checkpointing on the HyperPod cluster. When enabled, this feature uses a multi-tier storage approach for storing model checkpoints, providing faster checkpoint operations and improved fault tolerance across cluster nodes. This is a convenience method that creates an instance of theClusterTieredStorageConfig.Builderavoiding the need to create one manually viaClusterTieredStorageConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totieredStorageConfig(ClusterTieredStorageConfig).- Parameters:
- tieredStorageConfig- a consumer that will call methods on- ClusterTieredStorageConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
nodeProvisioningModeThe mode for provisioning nodes in the cluster. You can specify the following modes: - 
 Continuous: Scaling behavior that enables 1) concurrent operation execution within instance groups, 2) continuous retry mechanisms for failed operations, 3) enhanced customer visibility into cluster events through detailed event streams, 4) partial provisioning capabilities. Your clusters and instance groups remain InServicewhile scaling. This mode is only supported for EKS orchestrated clusters.
 - Parameters:
- nodeProvisioningMode- The mode for provisioning nodes in the cluster. You can specify the following modes:- 
        Continuous: Scaling behavior that enables 1) concurrent operation execution within instance groups, 2) continuous retry mechanisms for failed operations, 3) enhanced customer visibility into cluster events through detailed event streams, 4) partial provisioning capabilities. Your clusters and instance groups remain InServicewhile scaling. This mode is only supported for EKS orchestrated clusters.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
nodeProvisioningModeThe mode for provisioning nodes in the cluster. You can specify the following modes: - 
 Continuous: Scaling behavior that enables 1) concurrent operation execution within instance groups, 2) continuous retry mechanisms for failed operations, 3) enhanced customer visibility into cluster events through detailed event streams, 4) partial provisioning capabilities. Your clusters and instance groups remain InServicewhile scaling. This mode is only supported for EKS orchestrated clusters.
 - Parameters:
- nodeProvisioningMode- The mode for provisioning nodes in the cluster. You can specify the following modes:- 
        Continuous: Scaling behavior that enables 1) concurrent operation execution within instance groups, 2) continuous retry mechanisms for failed operations, 3) enhanced customer visibility into cluster events through detailed event streams, 4) partial provisioning capabilities. Your clusters and instance groups remain InServicewhile scaling. This mode is only supported for EKS orchestrated clusters.
 
- 
        
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
 
- 
clusterRoleThe Amazon Resource Name (ARN) of the IAM role that HyperPod assumes to perform cluster autoscaling operations. This role must have permissions for sagemaker:BatchAddClusterNodesandsagemaker:BatchDeleteClusterNodes. This is only required when autoscaling is enabled and when HyperPod is performing autoscaling operations.- Parameters:
- clusterRole- The Amazon Resource Name (ARN) of the IAM role that HyperPod assumes to perform cluster autoscaling operations. This role must have permissions for- sagemaker:BatchAddClusterNodesand- sagemaker:BatchDeleteClusterNodes. This is only required when autoscaling is enabled and when HyperPod is performing autoscaling operations.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoScalingThe autoscaling configuration for the cluster. Enables automatic scaling of cluster nodes based on workload demand using a Karpenter-based system. - Parameters:
- autoScaling- The autoscaling configuration for the cluster. Enables automatic scaling of cluster nodes based on workload demand using a Karpenter-based system.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
autoScalingdefault CreateClusterRequest.Builder autoScaling(Consumer<ClusterAutoScalingConfig.Builder> autoScaling) The autoscaling configuration for the cluster. Enables automatic scaling of cluster nodes based on workload demand using a Karpenter-based system. This is a convenience method that creates an instance of theClusterAutoScalingConfig.Builderavoiding the need to create one manually viaClusterAutoScalingConfig.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoScaling(ClusterAutoScalingConfig).- Parameters:
- autoScaling- a consumer that will call methods on- ClusterAutoScalingConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
overrideConfigurationCreateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationCreateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-