Interface ClusterInstanceGroupDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ClusterInstanceGroupDetails.Builder,
,ClusterInstanceGroupDetails> SdkBuilder<ClusterInstanceGroupDetails.Builder,
,ClusterInstanceGroupDetails> SdkPojo
- Enclosing class:
ClusterInstanceGroupDetails
-
Method Summary
Modifier and TypeMethodDescriptioncurrentCount
(Integer currentCount) The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.executionRole
(String executionRole) The execution role for the instance group to assume.instanceGroupName
(String instanceGroupName) The name of the instance group of a SageMaker HyperPod cluster.instanceStorageConfigs
(Collection<ClusterInstanceStorageConfig> instanceStorageConfigs) The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.instanceStorageConfigs
(Consumer<ClusterInstanceStorageConfig.Builder>... instanceStorageConfigs) The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.instanceStorageConfigs
(ClusterInstanceStorageConfig... instanceStorageConfigs) The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.instanceType
(String instanceType) The instance type of the instance group of a SageMaker HyperPod cluster.instanceType
(ClusterInstanceType instanceType) The instance type of the instance group of a SageMaker HyperPod cluster.lifeCycleConfig
(Consumer<ClusterLifeCycleConfig.Builder> lifeCycleConfig) Details of LifeCycle configuration for the instance group.lifeCycleConfig
(ClusterLifeCycleConfig lifeCycleConfig) Details of LifeCycle configuration for the instance group.onStartDeepHealthChecks
(Collection<DeepHealthCheckType> onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.onStartDeepHealthChecks
(DeepHealthCheckType... onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.onStartDeepHealthChecksWithStrings
(String... onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.onStartDeepHealthChecksWithStrings
(Collection<String> onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.targetCount
(Integer targetCount) The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.threadsPerCore
(Integer threadsPerCore) The number you specified toTreadsPerCore
inCreateCluster
for enabling or disabling multithreading.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
currentCount
The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.
- Parameters:
currentCount
- The number of instances that are currently in the instance group of a SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetCount
The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.
- Parameters:
targetCount
- The number of instances you specified to add to the instance group of a SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupName
The name of the instance group of a SageMaker HyperPod cluster.
- Parameters:
instanceGroupName
- The name of the instance group of a SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceType
The instance type of the instance group of a SageMaker HyperPod cluster.
- Parameters:
instanceType
- The instance type of the instance group of a SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceType
The instance type of the instance group of a SageMaker HyperPod cluster.
- Parameters:
instanceType
- The instance type of the instance group of a SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lifeCycleConfig
Details of LifeCycle configuration for the instance group.
- Parameters:
lifeCycleConfig
- Details of LifeCycle configuration for the instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lifeCycleConfig
default ClusterInstanceGroupDetails.Builder lifeCycleConfig(Consumer<ClusterLifeCycleConfig.Builder> lifeCycleConfig) Details of LifeCycle configuration for the instance group.
This is a convenience method that creates an instance of theClusterLifeCycleConfig.Builder
avoiding the need to create one manually viaClusterLifeCycleConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolifeCycleConfig(ClusterLifeCycleConfig)
.- Parameters:
lifeCycleConfig
- a consumer that will call methods onClusterLifeCycleConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
executionRole
The execution role for the instance group to assume.
- Parameters:
executionRole
- The execution role for the instance group to assume.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threadsPerCore
The number you specified to
TreadsPerCore
inCreateCluster
for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.- Parameters:
threadsPerCore
- The number you specified toTreadsPerCore
inCreateCluster
for enabling or disabling multithreading. For instance types that support multithreading, you can specify 1 for disabling multithreading and 2 for enabling multithreading. For more information, see the reference table of CPU cores and threads per CPU core per instance type in the Amazon Elastic Compute Cloud User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStorageConfigs
ClusterInstanceGroupDetails.Builder instanceStorageConfigs(Collection<ClusterInstanceStorageConfig> instanceStorageConfigs) The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.
- Parameters:
instanceStorageConfigs
- The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStorageConfigs
ClusterInstanceGroupDetails.Builder instanceStorageConfigs(ClusterInstanceStorageConfig... instanceStorageConfigs) The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.
- Parameters:
instanceStorageConfigs
- The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceStorageConfigs
ClusterInstanceGroupDetails.Builder instanceStorageConfigs(Consumer<ClusterInstanceStorageConfig.Builder>... instanceStorageConfigs) The additional storage configurations for the instances in the SageMaker HyperPod cluster instance group.
This is a convenience method that creates an instance of theClusterInstanceStorageConfig.Builder
avoiding the need to create one manually viaClusterInstanceStorageConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceStorageConfigs(List<ClusterInstanceStorageConfig>)
.- Parameters:
instanceStorageConfigs
- a consumer that will call methods onClusterInstanceStorageConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onStartDeepHealthChecksWithStrings
ClusterInstanceGroupDetails.Builder onStartDeepHealthChecksWithStrings(Collection<String> onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.
- Parameters:
onStartDeepHealthChecks
- A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStartDeepHealthChecksWithStrings
ClusterInstanceGroupDetails.Builder onStartDeepHealthChecksWithStrings(String... onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.
- Parameters:
onStartDeepHealthChecks
- A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStartDeepHealthChecks
ClusterInstanceGroupDetails.Builder onStartDeepHealthChecks(Collection<DeepHealthCheckType> onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.
- Parameters:
onStartDeepHealthChecks
- A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onStartDeepHealthChecks
ClusterInstanceGroupDetails.Builder onStartDeepHealthChecks(DeepHealthCheckType... onStartDeepHealthChecks) A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.
- Parameters:
onStartDeepHealthChecks
- A flag indicating whether deep health checks should be performed when the cluster instance group is created or updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-