Struct aws_sdk_s3::types::builders::DeleteBuilder
source · #[non_exhaustive]pub struct DeleteBuilder { /* private fields */ }Expand description
A builder for Delete.
Implementations§
source§impl DeleteBuilder
impl DeleteBuilder
sourcepub fn objects(self, input: ObjectIdentifier) -> Self
pub fn objects(self, input: ObjectIdentifier) -> Self
Appends an item to objects.
To override the contents of this collection use set_objects.
The object to delete.
Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the DeleteObjects API operation. The request will receive a 400 Bad Request error and none of the objects in the request will be deleted.
sourcepub fn set_objects(self, input: Option<Vec<ObjectIdentifier>>) -> Self
pub fn set_objects(self, input: Option<Vec<ObjectIdentifier>>) -> Self
The object to delete.
Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the DeleteObjects API operation. The request will receive a 400 Bad Request error and none of the objects in the request will be deleted.
sourcepub fn get_objects(&self) -> &Option<Vec<ObjectIdentifier>>
pub fn get_objects(&self) -> &Option<Vec<ObjectIdentifier>>
The object to delete.
Directory buckets - For directory buckets, an object that's composed entirely of whitespace characters is not supported by the DeleteObjects API operation. The request will receive a 400 Bad Request error and none of the objects in the request will be deleted.
sourcepub fn quiet(self, input: bool) -> Self
pub fn quiet(self, input: bool) -> Self
Element to enable quiet mode for the request. When you add this element, you must set its value to true.
sourcepub fn set_quiet(self, input: Option<bool>) -> Self
pub fn set_quiet(self, input: Option<bool>) -> Self
Element to enable quiet mode for the request. When you add this element, you must set its value to true.
Trait Implementations§
source§impl Clone for DeleteBuilder
impl Clone for DeleteBuilder
source§fn clone(&self) -> DeleteBuilder
fn clone(&self) -> DeleteBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DeleteBuilder
impl Debug for DeleteBuilder
source§impl Default for DeleteBuilder
impl Default for DeleteBuilder
source§fn default() -> DeleteBuilder
fn default() -> DeleteBuilder
source§impl PartialEq for DeleteBuilder
impl PartialEq for DeleteBuilder
source§fn eq(&self, other: &DeleteBuilder) -> bool
fn eq(&self, other: &DeleteBuilder) -> bool
self and other values to be equal, and is used
by ==.