public static interface BatchDeletePartitionResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<BatchDeletePartitionResponse.Builder,BatchDeletePartitionResponse>
Modifier and Type | Method and Description |
---|---|
BatchDeletePartitionResponse.Builder |
errors(Collection<PartitionError> errors)
The errors encountered when trying to delete the requested partitions.
|
BatchDeletePartitionResponse.Builder |
errors(Consumer<PartitionError.Builder>... errors)
The errors encountered when trying to delete the requested partitions.
|
BatchDeletePartitionResponse.Builder |
errors(PartitionError... errors)
The errors encountered when trying to delete the requested partitions.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
BatchDeletePartitionResponse.Builder errors(Collection<PartitionError> errors)
The errors encountered when trying to delete the requested partitions.
errors
- The errors encountered when trying to delete the requested partitions.BatchDeletePartitionResponse.Builder errors(PartitionError... errors)
The errors encountered when trying to delete the requested partitions.
errors
- The errors encountered when trying to delete the requested partitions.BatchDeletePartitionResponse.Builder errors(Consumer<PartitionError.Builder>... errors)
The errors encountered when trying to delete the requested partitions.
This is a convenience method that creates an instance of thePartitionError.Builder
avoiding the need to create one
manually via PartitionError.builder()
.
When the Consumer
completes,
SdkBuilder.build()
is called immediately and
its result is passed to #errors(List
.
errors
- a consumer that will call methods on
PartitionError.Builder
#errors(java.util.Collection)
Copyright © 2022. All rights reserved.