Interface CreateClusterRequest.Builder

    • Method Detail

      • clusterName

        CreateClusterRequest.Builder clusterName​(String 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

        CreateClusterRequest.Builder instanceGroups​(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.
      • vpcConfig

        CreateClusterRequest.Builder vpcConfig​(VpcConfig 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.

        If you configure your VPC with IPv6 support and specify subnets with IPv6 addressing enabled in your VPC configuration, the cluster automatically uses IPv6 addressing for network communication.

        For information about adding IPv6 support for your VPC, see IPv6 support for your VPC.

        For information about creating a new VPC for use with IPv6, see Create a VPC.

        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.

        If you configure your VPC with IPv6 support and specify subnets with IPv6 addressing enabled in your VPC configuration, the cluster automatically uses IPv6 addressing for network communication.

        For information about adding IPv6 support for your VPC, see IPv6 support for your VPC.

        For information about creating a new VPC for use with IPv6, see Create a VPC.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • tags

        CreateClusterRequest.Builder tags​(Collection<Tag> 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

        CreateClusterRequest.Builder tags​(Tag... 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

        CreateClusterRequest.Builder tags​(Consumer<Tag.Builder>... 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 the Tag.Builder avoiding the need to create one manually via Tag.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #tags(List).

        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:
        #tags(java.util.Collection)
      • orchestrator

        CreateClusterRequest.Builder orchestrator​(ClusterOrchestrator 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.
      • nodeRecovery

        CreateClusterRequest.Builder nodeRecovery​(String 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.

        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:
        ClusterNodeRecovery, ClusterNodeRecovery
      • nodeRecovery

        CreateClusterRequest.Builder nodeRecovery​(ClusterNodeRecovery 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.

        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:
        ClusterNodeRecovery, ClusterNodeRecovery