Interface BatchDeleteClusterNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<BatchDeleteClusterNodesResponse.Builder,,BatchDeleteClusterNodesResponse> SageMakerResponse.Builder,SdkBuilder<BatchDeleteClusterNodesResponse.Builder,,BatchDeleteClusterNodesResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
BatchDeleteClusterNodesResponse
public static interface BatchDeleteClusterNodesResponse.Builder
extends SageMakerResponse.Builder, SdkPojo, CopyableBuilder<BatchDeleteClusterNodesResponse.Builder,BatchDeleteClusterNodesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionfailed(Collection<BatchDeleteClusterNodesError> failed) A list of errors encountered when deleting the specified nodes.failed(Consumer<BatchDeleteClusterNodesError.Builder>... failed) A list of errors encountered when deleting the specified nodes.failed(BatchDeleteClusterNodesError... failed) A list of errors encountered when deleting the specified nodes.successful(String... successful) A list of node IDs that were successfully deleted from the specified cluster.successful(Collection<String> successful) A list of node IDs that were successfully deleted from the specified cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
failed
A list of errors encountered when deleting the specified nodes.
- Parameters:
failed- A list of errors encountered when deleting the specified nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
A list of errors encountered when deleting the specified nodes.
- Parameters:
failed- A list of errors encountered when deleting the specified nodes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failed
BatchDeleteClusterNodesResponse.Builder failed(Consumer<BatchDeleteClusterNodesError.Builder>... failed) A list of errors encountered when deleting the specified nodes.
This is a convenience method that creates an instance of theBatchDeleteClusterNodesError.Builderavoiding the need to create one manually viaBatchDeleteClusterNodesError.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofailed(List<BatchDeleteClusterNodesError>).- Parameters:
failed- a consumer that will call methods onBatchDeleteClusterNodesError.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successful
A list of node IDs that were successfully deleted from the specified cluster.
- Parameters:
successful- A list of node IDs that were successfully deleted from the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successful
A list of node IDs that were successfully deleted from the specified cluster.
- Parameters:
successful- A list of node IDs that were successfully deleted from the specified cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-