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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateClusterRequest.Builder
clusterName(String clusterName)
Specify the name of the SageMaker HyperPod cluster you want to update.UpdateClusterRequest.Builder
instanceGroups(Collection<ClusterInstanceGroupSpecification> instanceGroups)
Specify the instance groups to update.UpdateClusterRequest.Builder
instanceGroups(Consumer<ClusterInstanceGroupSpecification.Builder>... instanceGroups)
Specify the instance groups to update.UpdateClusterRequest.Builder
instanceGroups(ClusterInstanceGroupSpecification... instanceGroups)
Specify the instance groups to update.UpdateClusterRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateClusterRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
-
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 Detail
-
clusterName
UpdateClusterRequest.Builder clusterName(String 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
UpdateClusterRequest.Builder instanceGroups(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
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 to#instanceGroups(List
.) - 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:
#instanceGroups(java.util.Collection
)
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateClusterRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-