Interface UpdateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterName
(String clusterName) Specify the name of the SageMaker HyperPod cluster you want to update.instanceGroups
(Collection<ClusterInstanceGroupSpecification> instanceGroups) Specify the instance groups to update.instanceGroups
(Consumer<ClusterInstanceGroupSpecification.Builder>... instanceGroups) Specify the instance groups to update.instanceGroups
(ClusterInstanceGroupSpecification... instanceGroups) Specify the instance groups to update.instanceGroupsToDelete
(String... instanceGroupsToDelete) Specify the names of the instance groups to delete.instanceGroupsToDelete
(Collection<String> instanceGroupsToDelete) Specify the names of the instance groups to delete.nodeRecovery
(String nodeRecovery) The node recovery mode to be applied to the SageMaker HyperPod cluster.nodeRecovery
(ClusterNodeRecovery nodeRecovery) The node recovery mode to be applied to 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.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterName
Specify the name of the SageMaker HyperPod cluster you want to update.
- Parameters:
clusterName
- Specify the name of the SageMaker HyperPod cluster you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
UpdateClusterRequest.Builder instanceGroups(Collection<ClusterInstanceGroupSpecification> instanceGroups) Specify the instance groups to update.
- Parameters:
instanceGroups
- Specify the instance groups to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
Specify the instance groups to update.
- Parameters:
instanceGroups
- Specify the instance groups to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
UpdateClusterRequest.Builder instanceGroups(Consumer<ClusterInstanceGroupSpecification.Builder>... instanceGroups) Specify the instance groups to update.
This is a convenience method that creates an instance of theClusterInstanceGroupSpecification.Builder
avoiding the need to create one manually viaClusterInstanceGroupSpecification.builder()
.When the
Consumer
completes,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:
-
restrictedInstanceGroups
UpdateClusterRequest.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.
-
restrictedInstanceGroups
UpdateClusterRequest.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.
-
restrictedInstanceGroups
UpdateClusterRequest.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.Builder
avoiding the need to create one manually viaClusterRestrictedInstanceGroupSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torestrictedInstanceGroups(List<ClusterRestrictedInstanceGroupSpecification>)
.- Parameters:
restrictedInstanceGroups
- a consumer that will call methods onClusterRestrictedInstanceGroupSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeRecovery
The node recovery mode to be applied to the SageMaker HyperPod cluster.
- Parameters:
nodeRecovery
- The node recovery mode to be applied to the SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nodeRecovery
The node recovery mode to be applied to the SageMaker HyperPod cluster.
- Parameters:
nodeRecovery
- The node recovery mode to be applied to the SageMaker HyperPod cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceGroupsToDelete
Specify the names of the instance groups to delete. Use a single
,
as the separator between multiple names.- Parameters:
instanceGroupsToDelete
- Specify the names of the instance groups to delete. Use a single,
as the separator between multiple names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroupsToDelete
Specify the names of the instance groups to delete. Use a single
,
as the separator between multiple names.- Parameters:
instanceGroupsToDelete
- Specify the names of the instance groups to delete. Use a single,
as the separator between multiple names.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-