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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BatchDeleteClusterNodesResponse.Builder
failed(Collection<BatchDeleteClusterNodesError> failed)
A list of errors encountered when deleting the specified nodes.BatchDeleteClusterNodesResponse.Builder
failed(Consumer<BatchDeleteClusterNodesError.Builder>... failed)
A list of errors encountered when deleting the specified nodes.BatchDeleteClusterNodesResponse.Builder
failed(BatchDeleteClusterNodesError... failed)
A list of errors encountered when deleting the specified nodes.BatchDeleteClusterNodesResponse.Builder
successful(String... successful)
A list of node IDs that were successfully deleted from the specified cluster.BatchDeleteClusterNodesResponse.Builder
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
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 Detail
-
failed
BatchDeleteClusterNodesResponse.Builder failed(Collection<BatchDeleteClusterNodesError> 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(BatchDeleteClusterNodesError... 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 to#failed(List
.) - 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:
#failed(java.util.Collection
)
-
successful
BatchDeleteClusterNodesResponse.Builder successful(Collection<String> 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
BatchDeleteClusterNodesResponse.Builder successful(String... 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.
-
-