Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::get_object_legal_hold::builders::GetObjectLegalHoldOutputBuilder
#[non_exhaustive]pub struct GetObjectLegalHoldOutputBuilder { /* private fields */ }
Expand description
A builder for GetObjectLegalHoldOutput
.
Implementations§
§impl GetObjectLegalHoldOutputBuilder
impl GetObjectLegalHoldOutputBuilder
pub fn legal_hold(
self,
input: ObjectLockLegalHold
) -> GetObjectLegalHoldOutputBuilder
pub fn legal_hold( self, input: ObjectLockLegalHold ) -> GetObjectLegalHoldOutputBuilder
The current legal hold status for the specified object.
pub fn set_legal_hold(
self,
input: Option<ObjectLockLegalHold>
) -> GetObjectLegalHoldOutputBuilder
pub fn set_legal_hold( self, input: Option<ObjectLockLegalHold> ) -> GetObjectLegalHoldOutputBuilder
The current legal hold status for the specified object.
pub fn get_legal_hold(&self) -> &Option<ObjectLockLegalHold>
pub fn get_legal_hold(&self) -> &Option<ObjectLockLegalHold>
The current legal hold status for the specified object.
pub fn build(self) -> GetObjectLegalHoldOutput
pub fn build(self) -> GetObjectLegalHoldOutput
Consumes the builder and constructs a GetObjectLegalHoldOutput
.
Trait Implementations§
§impl Clone for GetObjectLegalHoldOutputBuilder
impl Clone for GetObjectLegalHoldOutputBuilder
§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 more§impl Debug for GetObjectLegalHoldOutputBuilder
impl Debug for GetObjectLegalHoldOutputBuilder
§impl Default for GetObjectLegalHoldOutputBuilder
impl Default for GetObjectLegalHoldOutputBuilder
§fn default() -> GetObjectLegalHoldOutputBuilder
fn default() -> GetObjectLegalHoldOutputBuilder
Returns the “default value” for a type. Read more
§impl PartialEq for GetObjectLegalHoldOutputBuilder
impl PartialEq for GetObjectLegalHoldOutputBuilder
§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 ==
.impl StructuralPartialEq for GetObjectLegalHoldOutputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for GetObjectLegalHoldOutputBuilder
impl Send for GetObjectLegalHoldOutputBuilder
impl Sync for GetObjectLegalHoldOutputBuilder
impl Unpin for GetObjectLegalHoldOutputBuilder
impl UnwindSafe for GetObjectLegalHoldOutputBuilder
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more