Struct aws_sdk_s3::types::builders::DeletedObjectBuilder
source · #[non_exhaustive]pub struct DeletedObjectBuilder { /* private fields */ }
Expand description
A builder for DeletedObject
.
Implementations§
source§impl DeletedObjectBuilder
impl DeletedObjectBuilder
sourcepub fn version_id(self, input: impl Into<String>) -> Self
pub fn version_id(self, input: impl Into<String>) -> Self
The version ID of the deleted object.
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
The version ID of the deleted object.
This functionality is not supported for directory buckets.
sourcepub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The version ID of the deleted object.
This functionality is not supported for directory buckets.
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 delete_marker_version_id(self, input: impl Into<String>) -> Self
pub fn delete_marker_version_id(self, input: impl Into<String>) -> Self
The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
This functionality is not supported for directory buckets.
sourcepub fn set_delete_marker_version_id(self, input: Option<String>) -> Self
pub fn set_delete_marker_version_id(self, input: Option<String>) -> Self
The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
This functionality is not supported for directory buckets.
sourcepub fn get_delete_marker_version_id(&self) -> &Option<String>
pub fn get_delete_marker_version_id(&self) -> &Option<String>
The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
This functionality is not supported for directory buckets.
sourcepub fn build(self) -> DeletedObject
pub fn build(self) -> DeletedObject
Consumes the builder and constructs a DeletedObject
.
Trait Implementations§
source§impl Clone for DeletedObjectBuilder
impl Clone for DeletedObjectBuilder
source§fn clone(&self) -> DeletedObjectBuilder
fn clone(&self) -> DeletedObjectBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeletedObjectBuilder
impl Debug for DeletedObjectBuilder
source§impl Default for DeletedObjectBuilder
impl Default for DeletedObjectBuilder
source§fn default() -> DeletedObjectBuilder
fn default() -> DeletedObjectBuilder
source§impl PartialEq for DeletedObjectBuilder
impl PartialEq for DeletedObjectBuilder
source§fn eq(&self, other: &DeletedObjectBuilder) -> bool
fn eq(&self, other: &DeletedObjectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.