Struct aws_sdk_s3::output::delete_object_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DeleteObjectOutput
.
Implementations§
source§impl Builder
impl Builder
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.
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.
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 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 build(self) -> DeleteObjectOutput
pub fn build(self) -> DeleteObjectOutput
Consumes the builder and constructs a DeleteObjectOutput
.