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, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildDeleteObjectsResponse.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 theDeletedObject.Builder avoiding the need to create one
manually via DeletedObject.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and its
result is passed to #deleted(List.
deleted - a consumer that will call methods on
DeletedObject.Builder#deleted(java.util.Collection) DeleteObjectsResponse.Builder requestCharged(String requestCharged)
requestCharged - The new value for the RequestCharged property for this object.RequestCharged,
RequestChargedDeleteObjectsResponse.Builder requestCharged(RequestCharged requestCharged)
requestCharged - The new value for the RequestCharged property for this object.RequestCharged,
RequestChargedDeleteObjectsResponse.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 theS3Error.Builder avoiding the need to create one manually via
S3Error.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 S3Error.Builder#errors(java.util.Collection) Copyright © 2023. All rights reserved.