Interface UpdateClusterSoftwareRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateClusterSoftwareRequest.Builder,UpdateClusterSoftwareRequest>,SageMakerRequest.Builder,SdkBuilder<UpdateClusterSoftwareRequest.Builder,UpdateClusterSoftwareRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateClusterSoftwareRequest
@Mutable @NotThreadSafe public static interface UpdateClusterSoftwareRequest.Builder extends SageMakerRequest.Builder, SdkPojo, CopyableBuilder<UpdateClusterSoftwareRequest.Builder,UpdateClusterSoftwareRequest>
-
-
Method Summary
-
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 Detail
-
clusterName
UpdateClusterSoftwareRequest.Builder clusterName(String 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.Builderavoiding the need to create one manually viaUpdateClusterSoftwareInstanceGroupSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#instanceGroups(List.) - 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:
#instanceGroups(java.util.Collection)
-
deploymentConfig
UpdateClusterSoftwareRequest.Builder deploymentConfig(DeploymentConfiguration 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.Builderavoiding the need to create one manually viaDeploymentConfiguration.builder().When the
Consumercompletes,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:
deploymentConfig(DeploymentConfiguration)
-
overrideConfiguration
UpdateClusterSoftwareRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateClusterSoftwareRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-