Interface BatchAddClusterNodesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<BatchAddClusterNodesRequest.Builder,,BatchAddClusterNodesRequest> SageMakerRequest.Builder,SdkBuilder<BatchAddClusterNodesRequest.Builder,,BatchAddClusterNodesRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
BatchAddClusterNodesRequest
-
Method Summary
Modifier and TypeMethodDescriptionclientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.clusterName(String clusterName) The name of the HyperPod cluster to which you want to add nodes.nodesToAdd(Collection<AddClusterNodeSpecification> nodesToAdd) A list of instance groups and the number of nodes to add to each.nodesToAdd(Consumer<AddClusterNodeSpecification.Builder>... nodesToAdd) A list of instance groups and the number of nodes to add to each.nodesToAdd(AddClusterNodeSpecification... nodesToAdd) A list of instance groups and the number of nodes to add to each.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, sdkFieldNameToField, sdkFields
-
Method Details
-
clusterName
The name of the HyperPod cluster to which you want to add nodes.
- Parameters:
clusterName- The name of the HyperPod cluster to which you want to add nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is valid for 8 hours. If you retry the request with the same client token within this timeframe and the same parameters, the API returns the same set of
NodeLogicalIdswith their latest status.- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. This token is valid for 8 hours. If you retry the request with the same client token within this timeframe and the same parameters, the API returns the same set ofNodeLogicalIdswith their latest status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodesToAdd
A list of instance groups and the number of nodes to add to each. You can specify up to 5 instance groups in a single request, with a maximum of 50 nodes total across all instance groups.
- Parameters:
nodesToAdd- A list of instance groups and the number of nodes to add to each. You can specify up to 5 instance groups in a single request, with a maximum of 50 nodes total across all instance groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodesToAdd
A list of instance groups and the number of nodes to add to each. You can specify up to 5 instance groups in a single request, with a maximum of 50 nodes total across all instance groups.
- Parameters:
nodesToAdd- A list of instance groups and the number of nodes to add to each. You can specify up to 5 instance groups in a single request, with a maximum of 50 nodes total across all instance groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodesToAdd
BatchAddClusterNodesRequest.Builder nodesToAdd(Consumer<AddClusterNodeSpecification.Builder>... nodesToAdd) A list of instance groups and the number of nodes to add to each. You can specify up to 5 instance groups in a single request, with a maximum of 50 nodes total across all instance groups.
This is a convenience method that creates an instance of theAddClusterNodeSpecification.Builderavoiding the need to create one manually viaAddClusterNodeSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonodesToAdd(List<AddClusterNodeSpecification>).- Parameters:
nodesToAdd- a consumer that will call methods onAddClusterNodeSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
BatchAddClusterNodesRequest.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
BatchAddClusterNodesRequest.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.
-