#[non_exhaustive]pub struct S3SetObjectLegalHoldOperation { /* private fields */ }
Expand description
Contains the configuration for an S3 Object Lock legal hold operation that an S3 Batch Operations job passes to every object to the underlying PutObjectLegalHold
API operation. For more information, see Using S3 Object Lock legal hold with S3 Batch Operations in the Amazon S3 User Guide.
Implementations§
source§impl S3SetObjectLegalHoldOperation
impl S3SetObjectLegalHoldOperation
sourcepub fn legal_hold(&self) -> Option<&S3ObjectLockLegalHold>
pub fn legal_hold(&self) -> Option<&S3ObjectLockLegalHold>
Contains the Object Lock legal hold status to be applied to all objects in the Batch Operations job.
source§impl S3SetObjectLegalHoldOperation
impl S3SetObjectLegalHoldOperation
sourcepub fn builder() -> S3SetObjectLegalHoldOperationBuilder
pub fn builder() -> S3SetObjectLegalHoldOperationBuilder
Creates a new builder-style object to manufacture S3SetObjectLegalHoldOperation
.
Trait Implementations§
source§impl Clone for S3SetObjectLegalHoldOperation
impl Clone for S3SetObjectLegalHoldOperation
source§fn clone(&self) -> S3SetObjectLegalHoldOperation
fn clone(&self) -> S3SetObjectLegalHoldOperation
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 PartialEq<S3SetObjectLegalHoldOperation> for S3SetObjectLegalHoldOperation
impl PartialEq<S3SetObjectLegalHoldOperation> for S3SetObjectLegalHoldOperation
source§fn eq(&self, other: &S3SetObjectLegalHoldOperation) -> bool
fn eq(&self, other: &S3SetObjectLegalHoldOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.