#[non_exhaustive]pub struct S3SetObjectLegalHoldOperationBuilder { /* private fields */ }
Expand description
A builder for S3SetObjectLegalHoldOperation
.
Implementations§
source§impl S3SetObjectLegalHoldOperationBuilder
impl S3SetObjectLegalHoldOperationBuilder
sourcepub fn legal_hold(self, input: S3ObjectLockLegalHold) -> Self
pub fn legal_hold(self, input: S3ObjectLockLegalHold) -> Self
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
This field is required.sourcepub fn set_legal_hold(self, input: Option<S3ObjectLockLegalHold>) -> Self
pub fn set_legal_hold(self, input: Option<S3ObjectLockLegalHold>) -> Self
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
sourcepub fn get_legal_hold(&self) -> &Option<S3ObjectLockLegalHold>
pub fn get_legal_hold(&self) -> &Option<S3ObjectLockLegalHold>
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
sourcepub fn build(self) -> S3SetObjectLegalHoldOperation
pub fn build(self) -> S3SetObjectLegalHoldOperation
Consumes the builder and constructs a S3SetObjectLegalHoldOperation
.
Trait Implementations§
source§impl Clone for S3SetObjectLegalHoldOperationBuilder
impl Clone for S3SetObjectLegalHoldOperationBuilder
source§fn clone(&self) -> S3SetObjectLegalHoldOperationBuilder
fn clone(&self) -> S3SetObjectLegalHoldOperationBuilder
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 S3SetObjectLegalHoldOperationBuilder
impl Default for S3SetObjectLegalHoldOperationBuilder
source§fn default() -> S3SetObjectLegalHoldOperationBuilder
fn default() -> S3SetObjectLegalHoldOperationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for S3SetObjectLegalHoldOperationBuilder
impl PartialEq for S3SetObjectLegalHoldOperationBuilder
source§fn eq(&self, other: &S3SetObjectLegalHoldOperationBuilder) -> bool
fn eq(&self, other: &S3SetObjectLegalHoldOperationBuilder) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for S3SetObjectLegalHoldOperationBuilder
Auto Trait Implementations§
impl Freeze for S3SetObjectLegalHoldOperationBuilder
impl RefUnwindSafe for S3SetObjectLegalHoldOperationBuilder
impl Send for S3SetObjectLegalHoldOperationBuilder
impl Sync for S3SetObjectLegalHoldOperationBuilder
impl Unpin for S3SetObjectLegalHoldOperationBuilder
impl UnwindSafe for S3SetObjectLegalHoldOperationBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.