Interface DeleteObjectsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>,S3Response.Builder,SdkBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DeleteObjectsResponse
@Mutable @NotThreadSafe public static interface DeleteObjectsResponse.Builder extends S3Response.Builder, SdkPojo, CopyableBuilder<DeleteObjectsResponse.Builder,DeleteObjectsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeleteObjectsResponse.Builderdeleted(Collection<DeletedObject> deleted)Container element for a successful delete.DeleteObjectsResponse.Builderdeleted(Consumer<DeletedObject.Builder>... deleted)Container element for a successful delete.DeleteObjectsResponse.Builderdeleted(DeletedObject... deleted)Container element for a successful delete.DeleteObjectsResponse.Buildererrors(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.Buildererrors(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.Buildererrors(S3Error... errors)Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.DeleteObjectsResponse.BuilderrequestCharged(String requestCharged)Sets the value of the RequestCharged property for this object.DeleteObjectsResponse.BuilderrequestCharged(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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
deleted
DeleteObjectsResponse.Builder deleted(Collection<DeletedObject> 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
DeleteObjectsResponse.Builder deleted(DeletedObject... 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
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.Builderavoiding the need to create one manually viaDeletedObject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deleted(List.) - 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:
#deleted(java.util.Collection)
-
requestCharged
DeleteObjectsResponse.Builder requestCharged(String 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,RequestCharged
-
requestCharged
DeleteObjectsResponse.Builder requestCharged(RequestCharged 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,RequestCharged
-
errors
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.
- 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
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.
- 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
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.Builderavoiding the need to create one manually viaS3Error.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#errors(List.) - 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:
#errors(java.util.Collection)
-
-