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
source§impl PartialEq for ObjectLockLegalHoldBuilder
impl PartialEq for ObjectLockLegalHoldBuilder
source§fn eq(&self, other: &ObjectLockLegalHoldBuilder) -> bool
fn eq(&self, other: &ObjectLockLegalHoldBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ObjectLockLegalHoldBuilder
Auto Trait Implementations§
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