public static interface DeleteObjectsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>
Modifier and Type | Method and Description |
---|---|
DeleteObjectsResponse.Builder |
deleted(Collection<DeletedObject> deleted)
Container element for a successful delete.
|
DeleteObjectsResponse.Builder |
deleted(Consumer<DeletedObject.Builder>... deleted)
Container element for a successful delete.
|
DeleteObjectsResponse.Builder |
deleted(DeletedObject... deleted)
Container element for a successful delete.
|
DeleteObjectsResponse.Builder |
errors(Collection<S3Error> errors)
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the
error it encountered.
|
DeleteObjectsResponse.Builder |
errors(Consumer<S3Error.Builder>... errors)
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the
error it encountered.
|
DeleteObjectsResponse.Builder |
errors(S3Error... errors)
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the
error it encountered.
|
DeleteObjectsResponse.Builder |
requestCharged(RequestCharged requestCharged)
Sets the value of the RequestCharged property for this object.
|
DeleteObjectsResponse.Builder |
requestCharged(String requestCharged)
Sets the value of the RequestCharged property for this object.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
DeleteObjectsResponse.Builder deleted(Collection<DeletedObject> deleted)
Container element for a successful delete. It identifies the object that was successfully deleted.
deleted
- Container element for a successful delete. It identifies the object that was successfully deleted.DeleteObjectsResponse.Builder deleted(DeletedObject... deleted)
Container element for a successful delete. It identifies the object that was successfully deleted.
deleted
- Container element for a successful delete. It identifies the object that was successfully deleted.DeleteObjectsResponse.Builder deleted(Consumer<DeletedObject.Builder>... deleted)
Container element for a successful delete. It identifies the object that was successfully deleted.
This is a convenience method that creates an instance of theList.Builder
avoiding the
need to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #deleted(List)
.deleted
- a consumer that will call methods on List.Builder
#deleted(List)
DeleteObjectsResponse.Builder requestCharged(String requestCharged)
requestCharged
- The new value for the RequestCharged property for this object.RequestCharged
,
RequestCharged
DeleteObjectsResponse.Builder requestCharged(RequestCharged requestCharged)
requestCharged
- The new value for the RequestCharged property for this object.RequestCharged
,
RequestCharged
DeleteObjectsResponse.Builder errors(Collection<S3Error> errors)
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
errors
- Container for a failed delete action that describes the object that Amazon S3 attempted to delete and
the error it encountered.DeleteObjectsResponse.Builder errors(S3Error... errors)
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
errors
- Container for a failed delete action that describes the object that Amazon S3 attempted to delete and
the error it encountered.DeleteObjectsResponse.Builder errors(Consumer<S3Error.Builder>... errors)
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
This is a convenience method that creates an instance of theList.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #errors(List)
.errors
- a consumer that will call methods on List.Builder
#errors(List)
Copyright © 2022. All rights reserved.