Struct aws_sdk_s3::operation::get_object_legal_hold::builders::GetObjectLegalHoldOutputBuilder
source · #[non_exhaustive]pub struct GetObjectLegalHoldOutputBuilder { /* private fields */ }
Expand description
A builder for GetObjectLegalHoldOutput
.
Implementations§
source§impl GetObjectLegalHoldOutputBuilder
impl GetObjectLegalHoldOutputBuilder
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
.
Trait Implementations§
source§impl Clone for GetObjectLegalHoldOutputBuilder
impl Clone for GetObjectLegalHoldOutputBuilder
source§fn clone(&self) -> GetObjectLegalHoldOutputBuilder
fn clone(&self) -> GetObjectLegalHoldOutputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GetObjectLegalHoldOutputBuilder
impl Default for GetObjectLegalHoldOutputBuilder
source§fn default() -> GetObjectLegalHoldOutputBuilder
fn default() -> GetObjectLegalHoldOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<GetObjectLegalHoldOutputBuilder> for GetObjectLegalHoldOutputBuilder
impl PartialEq<GetObjectLegalHoldOutputBuilder> for GetObjectLegalHoldOutputBuilder
source§fn eq(&self, other: &GetObjectLegalHoldOutputBuilder) -> bool
fn eq(&self, other: &GetObjectLegalHoldOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.