Interface DeleteObjectsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DeleteObjectsResponse.Builder,
,DeleteObjectsResponse> S3Response.Builder
,SdkBuilder<DeleteObjectsResponse.Builder,
,DeleteObjectsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DeleteObjectsResponse
-
Method Summary
Modifier and TypeMethodDescriptiondeleted
(Collection<DeletedObject> deleted) Container element for a successful delete.deleted
(Consumer<DeletedObject.Builder>... deleted) Container element for a successful delete.deleted
(DeletedObject... deleted) Container element for a successful delete.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
(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.Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.requestCharged
(String requestCharged) Sets the value of the RequestCharged property for this object.requestCharged
(RequestCharged requestCharged) Sets the value of the RequestCharged property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Response.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 Details
-
deleted
Container element for a successful delete. It identifies the object that was successfully deleted.
- Parameters:
deleted
- Container element for a successful delete. It identifies the object that was successfully deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deleted
Container element for a successful delete. It identifies the object that was successfully deleted.
- Parameters:
deleted
- Container element for a successful delete. It identifies the object that was successfully deleted.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaDeletedObject.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeleted(List<DeletedObject>)
.- Parameters:
deleted
- a consumer that will call methods onDeletedObject.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged
- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
requestCharged
Sets the value of the RequestCharged property for this object.- Parameters:
requestCharged
- The new value for the RequestCharged property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errors
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
- Parameters:
errors
- Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
errors
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
- Parameters:
errors
- Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 viaS3Error.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toerrors(List<S3Error>)
.- Parameters:
errors
- a consumer that will call methods onS3Error.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-