Struct aws_sdk_s3::types::builders::ObjectLockLegalHoldBuilder
source · #[non_exhaustive]pub struct ObjectLockLegalHoldBuilder { /* private fields */ }
Expand description
A builder for ObjectLockLegalHold
.
Implementations§
source§impl ObjectLockLegalHoldBuilder
impl ObjectLockLegalHoldBuilder
sourcepub fn status(self, input: ObjectLockLegalHoldStatus) -> Self
pub fn status(self, input: ObjectLockLegalHoldStatus) -> Self
Indicates whether the specified object has a legal hold in place.
sourcepub fn set_status(self, input: Option<ObjectLockLegalHoldStatus>) -> Self
pub fn set_status(self, input: Option<ObjectLockLegalHoldStatus>) -> Self
Indicates whether the specified object has a legal hold in place.
sourcepub fn get_status(&self) -> &Option<ObjectLockLegalHoldStatus>
pub fn get_status(&self) -> &Option<ObjectLockLegalHoldStatus>
Indicates whether the specified object has a legal hold in place.
sourcepub fn build(self) -> ObjectLockLegalHold
pub fn build(self) -> ObjectLockLegalHold
Consumes the builder and constructs a ObjectLockLegalHold
.
Trait Implementations§
source§impl Clone for ObjectLockLegalHoldBuilder
impl Clone for ObjectLockLegalHoldBuilder
source§fn clone(&self) -> ObjectLockLegalHoldBuilder
fn clone(&self) -> ObjectLockLegalHoldBuilder
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 Debug for ObjectLockLegalHoldBuilder
impl Debug for ObjectLockLegalHoldBuilder
source§impl Default for ObjectLockLegalHoldBuilder
impl Default for ObjectLockLegalHoldBuilder
source§fn default() -> ObjectLockLegalHoldBuilder
fn default() -> ObjectLockLegalHoldBuilder
Returns the “default value” for a type. Read more
impl StructuralPartialEq for ObjectLockLegalHoldBuilder
Auto Trait Implementations§
impl Freeze for ObjectLockLegalHoldBuilder
impl RefUnwindSafe for ObjectLockLegalHoldBuilder
impl Send for ObjectLockLegalHoldBuilder
impl Sync for ObjectLockLegalHoldBuilder
impl Unpin for ObjectLockLegalHoldBuilder
impl UnwindSafe for ObjectLockLegalHoldBuilder
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.