Struct aws_sdk_s3::model::object_lock_configuration::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ObjectLockConfiguration
Implementations
Indicates whether this bucket has an Object Lock configuration enabled.
Enable ObjectLockEnabled
when you apply ObjectLockConfiguration
to a bucket.
Indicates whether this bucket has an Object Lock configuration enabled.
Enable ObjectLockEnabled
when you apply ObjectLockConfiguration
to a bucket.
Specifies the Object Lock rule for the specified object. Enable the this rule when you apply
ObjectLockConfiguration
to a bucket. Bucket settings require both a mode and a period.
The period can be either Days
or Years
but you must select one.
You cannot specify Days
and Years
at the same time.
Specifies the Object Lock rule for the specified object. Enable the this rule when you apply
ObjectLockConfiguration
to a bucket. Bucket settings require both a mode and a period.
The period can be either Days
or Years
but you must select one.
You cannot specify Days
and Years
at the same time.
Consumes the builder and constructs a ObjectLockConfiguration
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more