#[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.
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.
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.
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.
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.
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.
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 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.
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
source§impl PartialEq for DeleteObjectOutputBuilder
impl PartialEq for DeleteObjectOutputBuilder
source§fn eq(&self, other: &DeleteObjectOutputBuilder) -> bool
fn eq(&self, other: &DeleteObjectOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.