Struct aws_sdk_s3::output::get_object_legal_hold_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for GetObjectLegalHoldOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn legal_hold(self, input: ObjectLockLegalHold) -> Self
pub fn legal_hold(self, input: ObjectLockLegalHold) -> Self
The current legal hold status for the specified object.
sourcepub fn set_legal_hold(self, input: Option<ObjectLockLegalHold>) -> Self
pub fn set_legal_hold(self, input: Option<ObjectLockLegalHold>) -> Self
The current legal hold status for the specified object.
sourcepub fn build(self) -> GetObjectLegalHoldOutput
pub fn build(self) -> GetObjectLegalHoldOutput
Consumes the builder and constructs a GetObjectLegalHoldOutput
.