Interface BatchDeletePartitionResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<BatchDeletePartitionResponse.Builder,BatchDeletePartitionResponse>
,GlueResponse.Builder
,SdkBuilder<BatchDeletePartitionResponse.Builder,BatchDeletePartitionResponse>
,SdkPojo
,SdkResponse.Builder
- Enclosing class:
- BatchDeletePartitionResponse
public static interface BatchDeletePartitionResponse.Builder extends GlueResponse.Builder, SdkPojo, CopyableBuilder<BatchDeletePartitionResponse.Builder,BatchDeletePartitionResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueResponse.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, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
errors
BatchDeletePartitionResponse.Builder errors(Collection<PartitionError> errors)
The errors encountered when trying to delete the requested partitions.
- Parameters:
errors
- The errors encountered when trying to delete the requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
BatchDeletePartitionResponse.Builder errors(PartitionError... errors)
The errors encountered when trying to delete the requested partitions.
- Parameters:
errors
- The errors encountered when trying to delete the requested partitions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
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 viaPartitionError.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#errors(List
.) - Parameters:
errors
- a consumer that will call methods onPartitionError.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#errors(java.util.Collection
)
-
-