Interface UpdateClusterSoftwareRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateClusterSoftwareRequest.Builder,
,UpdateClusterSoftwareRequest> SageMakerRequest.Builder
,SdkBuilder<UpdateClusterSoftwareRequest.Builder,
,UpdateClusterSoftwareRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateClusterSoftwareRequest
-
Method Summary
Modifier and TypeMethodDescriptionclusterName
(String clusterName) Specify the name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster you want to update for security patching.deploymentConfig
(Consumer<DeploymentConfiguration.Builder> deploymentConfig) The configuration to use when updating the AMI versions.deploymentConfig
(DeploymentConfiguration deploymentConfig) The configuration to use when updating the AMI versions.instanceGroups
(Collection<UpdateClusterSoftwareInstanceGroupSpecification> instanceGroups) The array of instance groups for which to update AMI versions.instanceGroups
(Consumer<UpdateClusterSoftwareInstanceGroupSpecification.Builder>... instanceGroups) The array of instance groups for which to update AMI versions.instanceGroups
(UpdateClusterSoftwareInstanceGroupSpecification... instanceGroups) The array of instance groups for which to update AMI versions.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, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterName
Specify the name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster you want to update for security patching.
- Parameters:
clusterName
- Specify the name or the Amazon Resource Name (ARN) of the SageMaker HyperPod cluster you want to update for security patching.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
UpdateClusterSoftwareRequest.Builder instanceGroups(Collection<UpdateClusterSoftwareInstanceGroupSpecification> instanceGroups) The array of instance groups for which to update AMI versions.
- Parameters:
instanceGroups
- The array of instance groups for which to update AMI versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
UpdateClusterSoftwareRequest.Builder instanceGroups(UpdateClusterSoftwareInstanceGroupSpecification... instanceGroups) The array of instance groups for which to update AMI versions.
- Parameters:
instanceGroups
- The array of instance groups for which to update AMI versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceGroups
UpdateClusterSoftwareRequest.Builder instanceGroups(Consumer<UpdateClusterSoftwareInstanceGroupSpecification.Builder>... instanceGroups) The array of instance groups for which to update AMI versions.
This is a convenience method that creates an instance of theUpdateClusterSoftwareInstanceGroupSpecification.Builder
avoiding the need to create one manually viaUpdateClusterSoftwareInstanceGroupSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstanceGroups(List<UpdateClusterSoftwareInstanceGroupSpecification>)
.- Parameters:
instanceGroups
- a consumer that will call methods onUpdateClusterSoftwareInstanceGroupSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deploymentConfig
The configuration to use when updating the AMI versions.
- Parameters:
deploymentConfig
- The configuration to use when updating the AMI versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deploymentConfig
default UpdateClusterSoftwareRequest.Builder deploymentConfig(Consumer<DeploymentConfiguration.Builder> deploymentConfig) The configuration to use when updating the AMI versions.
This is a convenience method that creates an instance of theDeploymentConfiguration.Builder
avoiding the need to create one manually viaDeploymentConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeploymentConfig(DeploymentConfiguration)
.- Parameters:
deploymentConfig
- a consumer that will call methods onDeploymentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
UpdateClusterSoftwareRequest.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
UpdateClusterSoftwareRequest.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.
-