#[non_exhaustive]pub struct DeleteObjectOutputBuilder { /* private fields */ }
Expand description
A builder for DeleteObjectOutput
.
Implementations§
source§impl DeleteObjectOutputBuilder
impl DeleteObjectOutputBuilder
sourcepub fn delete_marker(self, input: bool) -> Self
pub fn delete_marker(self, input: bool) -> Self
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.
This functionality is not supported for directory buckets.
sourcepub fn set_delete_marker(self, input: Option<bool>) -> Self
pub fn set_delete_marker(self, input: Option<bool>) -> Self
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.
This functionality is not supported for directory buckets.
sourcepub fn get_delete_marker(&self) -> &Option<bool>
pub fn get_delete_marker(&self) -> &Option<bool>
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.
This functionality is not supported for directory buckets.
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
Returns the version ID of the delete marker created as a result of the DELETE operation.
This functionality is not supported for directory buckets.
sourcepub fn set_version_id(self, input: Option<String>) -> Self
pub fn set_version_id(self, input: Option<String>) -> Self
Returns the version ID of the delete marker created as a result of the DELETE operation.
This functionality is not supported for directory buckets.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
Returns the version ID of the delete marker created as a result of the DELETE operation.
This functionality is not supported for directory buckets.
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.
This functionality is not supported for directory buckets.
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.
This functionality is not supported for directory buckets.
sourcepub fn get_request_charged(&self) -> &Option<RequestCharged>
pub fn get_request_charged(&self) -> &Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
This functionality is not supported for directory buckets.
sourcepub fn build(self) -> DeleteObjectOutput
pub fn build(self) -> DeleteObjectOutput
Consumes the builder and constructs a DeleteObjectOutput
.
Trait Implementations§
source§impl Clone for DeleteObjectOutputBuilder
impl Clone for DeleteObjectOutputBuilder
source§fn clone(&self) -> DeleteObjectOutputBuilder
fn clone(&self) -> DeleteObjectOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteObjectOutputBuilder
impl Debug for DeleteObjectOutputBuilder
source§impl Default for DeleteObjectOutputBuilder
impl Default for DeleteObjectOutputBuilder
source§fn default() -> DeleteObjectOutputBuilder
fn default() -> DeleteObjectOutputBuilder
impl StructuralPartialEq for DeleteObjectOutputBuilder
Auto Trait Implementations§
impl Freeze for DeleteObjectOutputBuilder
impl RefUnwindSafe for DeleteObjectOutputBuilder
impl Send for DeleteObjectOutputBuilder
impl Sync for DeleteObjectOutputBuilder
impl Unpin for DeleteObjectOutputBuilder
impl UnwindSafe for DeleteObjectOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)