Interface BatchDeleteClusterNodesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchDeleteClusterNodesResponse.Builder,
,BatchDeleteClusterNodesResponse> SageMakerResponse.Builder
,SdkBuilder<BatchDeleteClusterNodesResponse.Builder,
,BatchDeleteClusterNodesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
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.failedNodeLogicalIds
(Collection<BatchDeleteClusterNodeLogicalIdsError> failedNodeLogicalIds) A list ofNodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.failedNodeLogicalIds
(Consumer<BatchDeleteClusterNodeLogicalIdsError.Builder>... failedNodeLogicalIds) A list ofNodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.failedNodeLogicalIds
(BatchDeleteClusterNodeLogicalIdsError... failedNodeLogicalIds) A list ofNodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.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.successfulNodeLogicalIds
(String... successfulNodeLogicalIds) A list ofNodeLogicalIds
that were successfully deleted from the cluster.successfulNodeLogicalIds
(Collection<String> successfulNodeLogicalIds) A list ofNodeLogicalIds
that were successfully deleted from the cluster.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.sagemaker.model.SageMakerResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods 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.Builder
avoiding the need to create one manually viaBatchDeleteClusterNodesError.builder()
.When the
Consumer
completes,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.
-
failedNodeLogicalIds
BatchDeleteClusterNodesResponse.Builder failedNodeLogicalIds(Collection<BatchDeleteClusterNodeLogicalIdsError> failedNodeLogicalIds) A list of
NodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.- Parameters:
failedNodeLogicalIds
- A list ofNodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedNodeLogicalIds
BatchDeleteClusterNodesResponse.Builder failedNodeLogicalIds(BatchDeleteClusterNodeLogicalIdsError... failedNodeLogicalIds) A list of
NodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.- Parameters:
failedNodeLogicalIds
- A list ofNodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedNodeLogicalIds
BatchDeleteClusterNodesResponse.Builder failedNodeLogicalIds(Consumer<BatchDeleteClusterNodeLogicalIdsError.Builder>... failedNodeLogicalIds) A list of
This is a convenience method that creates an instance of theNodeLogicalIds
that could not be deleted, along with error information explaining why the deletion failed.BatchDeleteClusterNodeLogicalIdsError.Builder
avoiding the need to create one manually viaBatchDeleteClusterNodeLogicalIdsError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofailedNodeLogicalIds(List<BatchDeleteClusterNodeLogicalIdsError>)
.- Parameters:
failedNodeLogicalIds
- a consumer that will call methods onBatchDeleteClusterNodeLogicalIdsError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
successfulNodeLogicalIds
BatchDeleteClusterNodesResponse.Builder successfulNodeLogicalIds(Collection<String> successfulNodeLogicalIds) A list of
NodeLogicalIds
that were successfully deleted from the cluster.- Parameters:
successfulNodeLogicalIds
- A list ofNodeLogicalIds
that were successfully deleted from the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
successfulNodeLogicalIds
BatchDeleteClusterNodesResponse.Builder successfulNodeLogicalIds(String... successfulNodeLogicalIds) A list of
NodeLogicalIds
that were successfully deleted from the cluster.- Parameters:
successfulNodeLogicalIds
- A list ofNodeLogicalIds
that were successfully deleted from the cluster.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-