Struct aws_sdk_s3::model::deleted_object::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeletedObject
.
Implementations§
source§impl Builder
impl Builder
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.
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.
sourcepub fn delete_marker(self, input: bool) -> Self
pub fn delete_marker(self, input: bool) -> Self
Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.
sourcepub fn set_delete_marker(self, input: Option<bool>) -> Self
pub fn set_delete_marker(self, input: Option<bool>) -> Self
Specifies whether the versioned object that was permanently deleted was (true) or was not (false) a delete marker. In a simple DELETE, this header indicates whether (true) or not (false) a delete marker was created.
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.
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.
sourcepub fn build(self) -> DeletedObject
pub fn build(self) -> DeletedObject
Consumes the builder and constructs a DeletedObject
.