Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::builders::DeletedObjectBuilder
pub struct DeletedObjectBuilder { /* private fields */ }
Expand description
A builder for DeletedObject
.
Implementations§
§impl DeletedObjectBuilder
impl DeletedObjectBuilder
pub fn key(self, input: impl Into<String>) -> DeletedObjectBuilder
pub fn key(self, input: impl Into<String>) -> DeletedObjectBuilder
The name of the deleted object.
pub fn set_key(self, input: Option<String>) -> DeletedObjectBuilder
pub fn set_key(self, input: Option<String>) -> DeletedObjectBuilder
The name of the deleted object.
pub fn version_id(self, input: impl Into<String>) -> DeletedObjectBuilder
pub fn version_id(self, input: impl Into<String>) -> DeletedObjectBuilder
The version ID of the deleted object.
pub fn set_version_id(self, input: Option<String>) -> DeletedObjectBuilder
pub fn set_version_id(self, input: Option<String>) -> DeletedObjectBuilder
The version ID of the deleted object.
pub fn get_version_id(&self) -> &Option<String>
pub fn get_version_id(&self) -> &Option<String>
The version ID of the deleted object.
pub fn delete_marker(self, input: bool) -> DeletedObjectBuilder
pub fn delete_marker(self, input: bool) -> DeletedObjectBuilder
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>) -> DeletedObjectBuilder
pub fn set_delete_marker(self, input: Option<bool>) -> DeletedObjectBuilder
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 delete_marker_version_id(
self,
input: impl Into<String>
) -> DeletedObjectBuilder
pub fn delete_marker_version_id( self, input: impl Into<String> ) -> DeletedObjectBuilder
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.
pub fn set_delete_marker_version_id(
self,
input: Option<String>
) -> DeletedObjectBuilder
pub fn set_delete_marker_version_id( self, input: Option<String> ) -> DeletedObjectBuilder
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.
pub 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.
pub fn build(self) -> DeletedObject
pub fn build(self) -> DeletedObject
Consumes the builder and constructs a DeletedObject
.
Trait Implementations§
§impl Clone for DeletedObjectBuilder
impl Clone for DeletedObjectBuilder
§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 more§impl Debug for DeletedObjectBuilder
impl Debug for DeletedObjectBuilder
§impl Default for DeletedObjectBuilder
impl Default for DeletedObjectBuilder
§fn default() -> DeletedObjectBuilder
fn default() -> DeletedObjectBuilder
§impl PartialEq<DeletedObjectBuilder> for DeletedObjectBuilder
impl PartialEq<DeletedObjectBuilder> for DeletedObjectBuilder
§fn eq(&self, other: &DeletedObjectBuilder) -> bool
fn eq(&self, other: &DeletedObjectBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.