Struct aws_sdk_s3::model::object_lock_legal_hold::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for ObjectLockLegalHold
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn status(self, input: ObjectLockLegalHoldStatus) -> Self
pub fn status(self, input: ObjectLockLegalHoldStatus) -> Self
Indicates whether the specified object has a legal hold in place.
sourcepub fn set_status(self, input: Option<ObjectLockLegalHoldStatus>) -> Self
pub fn set_status(self, input: Option<ObjectLockLegalHoldStatus>) -> Self
Indicates whether the specified object has a legal hold in place.
sourcepub fn build(self) -> ObjectLockLegalHold
pub fn build(self) -> ObjectLockLegalHold
Consumes the builder and constructs a ObjectLockLegalHold
.