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 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<ObjectLockLegalHoldBuilder> for ObjectLockLegalHoldBuilder
impl PartialEq<ObjectLockLegalHoldBuilder> 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 ==
.