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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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.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 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-