#[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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for S3SetObjectLegalHoldOperationBuilder
Auto Trait Implementations§
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> 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.