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 get_legal_hold(&self) -> &Option<ObjectLockLegalHold>
pub fn get_legal_hold(&self) -> &Option<ObjectLockLegalHold>
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 for GetObjectLegalHoldOutputBuilder
impl PartialEq for GetObjectLegalHoldOutputBuilder
source§fn eq(&self, other: &GetObjectLegalHoldOutputBuilder) -> bool
fn eq(&self, other: &GetObjectLegalHoldOutputBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for GetObjectLegalHoldOutputBuilder
Auto Trait Implementations§
impl Freeze for GetObjectLegalHoldOutputBuilder
impl RefUnwindSafe for GetObjectLegalHoldOutputBuilder
impl Send for GetObjectLegalHoldOutputBuilder
impl Sync for GetObjectLegalHoldOutputBuilder
impl Unpin for GetObjectLegalHoldOutputBuilder
impl UnwindSafe for GetObjectLegalHoldOutputBuilder
Blanket Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.