Struct aws_sdk_s3::output::delete_objects_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteObjectsOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn deleted(self, input: DeletedObject) -> Self
pub fn deleted(self, input: DeletedObject) -> Self
Appends an item to deleted
.
To override the contents of this collection use set_deleted
.
Container element for a successful delete. It identifies the object that was successfully deleted.
sourcepub fn set_deleted(self, input: Option<Vec<DeletedObject>>) -> Self
pub fn set_deleted(self, input: Option<Vec<DeletedObject>>) -> Self
Container element for a successful delete. It identifies the object that was successfully deleted.
sourcepub fn request_charged(self, input: RequestCharged) -> Self
pub fn request_charged(self, input: RequestCharged) -> Self
If present, indicates that the requester was successfully charged for the request.
sourcepub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
pub fn set_request_charged(self, input: Option<RequestCharged>) -> Self
If present, indicates that the requester was successfully charged for the request.
sourcepub fn errors(self, input: Error) -> Self
pub fn errors(self, input: Error) -> Self
Appends an item to errors
.
To override the contents of this collection use set_errors
.
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
sourcepub fn set_errors(self, input: Option<Vec<Error>>) -> Self
pub fn set_errors(self, input: Option<Vec<Error>>) -> Self
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
sourcepub fn build(self) -> DeleteObjectsOutput
pub fn build(self) -> DeleteObjectsOutput
Consumes the builder and constructs a DeleteObjectsOutput
.