Interface UpdateClusterRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateClusterRequest.Builder,
,UpdateClusterRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterRequest
public static interface UpdateClusterRequest.Builder
extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterRequest.Builder,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.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.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, 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:
-
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:
-
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.
-