Struct aws_sdk_s3::model::object_lock_rule::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for ObjectLockRule
Implementations
The default Object Lock retention mode and period that you want to apply to new objects
placed in the specified 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.
The default Object Lock retention mode and period that you want to apply to new objects
placed in the specified 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 ObjectLockRule
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