pub fn object_lock_legal_hold_status(
            mut self,
            input: crate::model::ObjectLockLegalHoldStatus,
        ) -> Self {
            self.object_lock_legal_hold_status = Some(input);
            self
        }
/// <p>Specifies whether a legal hold is in effect for this object. This header is only returned if the requester has the <code>s3:GetObjectLegalHold</code> permission. This header is not returned if the specified version of this object has never had a legal hold applied. For more information about S3 Object Lock, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/dev/object-lock.html">Object Lock</a>.</p>
Specifies whether a legal hold is in effect for this object. This header is only returned if the requester has the s3:GetObjectLegalHold permission. This header is not returned if the specified version of this object has never had a legal hold applied. For more information about S3 Object Lock, see Object Lock.
Specifies whether a legal hold is in effect for this object . This header is only returned if the requester has the s3 : GetObjectLegalHold permission . This header is not returned if the specified version of this object has never had a legal hold applied . For more information about S3 Object Lock see Object Lock .
pub fn object_lock_legal_hold_status(
            mut self,
            input: crate::model::ObjectLockLegalHoldStatus,
        ) -> Self {
            self.object_lock_legal_hold_status = Some(input);
            self
        }
pub fn object_lock_legal_hold_status ( mut self , input : crate :: model :: ObjectLockLegalHoldStatus , ) -> Self { self . object_lock_legal_hold_status = Some ( input ) ; self }
<p>Specifies whether a legal hold is in effect for this object.
<p > Specifies whether a legal hold is in effect for this object .
mut self
input
crate::model::ObjectLockLegalHoldStatus
mut self
input
crate::model::ObjectLockLegalHoldStatus