Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_object::builders::DeleteObjectOutputBuilder
#[non_exhaustive]pub struct DeleteObjectOutputBuilder { /* private fields */ }
Expand description
A builder for DeleteObjectOutput
.
Implementations§
§impl DeleteObjectOutputBuilder
impl DeleteObjectOutputBuilder
pub fn delete_marker(self, input: bool) -> DeleteObjectOutputBuilder
pub fn delete_marker(self, input: bool) -> DeleteObjectOutputBuilder
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.
pub fn set_delete_marker(self, input: Option<bool>) -> DeleteObjectOutputBuilder
pub fn set_delete_marker(self, input: Option<bool>) -> DeleteObjectOutputBuilder
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.
pub 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.
pub fn version_id(self, input: impl Into<String>) -> DeleteObjectOutputBuilder
pub fn version_id(self, input: impl Into<String>) -> DeleteObjectOutputBuilder
Returns the version ID of the delete marker created as a result of the DELETE operation.
pub fn set_version_id(self, input: Option<String>) -> DeleteObjectOutputBuilder
pub fn set_version_id(self, input: Option<String>) -> DeleteObjectOutputBuilder
Returns the version ID of the delete marker created as a result of the DELETE operation.
pub 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.
pub fn request_charged(self, input: RequestCharged) -> DeleteObjectOutputBuilder
pub fn request_charged(self, input: RequestCharged) -> DeleteObjectOutputBuilder
If present, indicates that the requester was successfully charged for the request.
pub fn set_request_charged(
self,
input: Option<RequestCharged>
) -> DeleteObjectOutputBuilder
pub fn set_request_charged( self, input: Option<RequestCharged> ) -> DeleteObjectOutputBuilder
If present, indicates that the requester was successfully charged for the request.
pub 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.
pub fn build(self) -> DeleteObjectOutput
pub fn build(self) -> DeleteObjectOutput
Consumes the builder and constructs a DeleteObjectOutput
.
Trait Implementations§
§impl Clone for DeleteObjectOutputBuilder
impl Clone for DeleteObjectOutputBuilder
§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 more§impl Debug for DeleteObjectOutputBuilder
impl Debug for DeleteObjectOutputBuilder
§impl Default for DeleteObjectOutputBuilder
impl Default for DeleteObjectOutputBuilder
§fn default() -> DeleteObjectOutputBuilder
fn default() -> DeleteObjectOutputBuilder
§impl PartialEq for DeleteObjectOutputBuilder
impl PartialEq for DeleteObjectOutputBuilder
§fn eq(&self, other: &DeleteObjectOutputBuilder) -> bool
fn eq(&self, other: &DeleteObjectOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.