pub struct BucketVersioningV2ArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketVersioningV2ArgsBuilder<S>
impl<S: State> BucketVersioningV2ArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketVersioningV2Argswhere
S: IsComplete,
pub fn build_struct(self) -> BucketVersioningV2Argswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketVersioningV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketVersioningV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the S3 bucket.
sourcepub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketVersioningV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketVersioningV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketVersioningV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketVersioningV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn mfa(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketVersioningV2ArgsBuilder<SetMfa<S>>where
S::Mfa: IsUnset,
pub fn mfa(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketVersioningV2ArgsBuilder<SetMfa<S>>where
S::Mfa: IsUnset,
sourcepub fn maybe_mfa(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketVersioningV2ArgsBuilder<SetMfa<S>>where
S::Mfa: IsUnset,
pub fn maybe_mfa(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketVersioningV2ArgsBuilder<SetMfa<S>>where
S::Mfa: IsUnset,
sourcepub fn versioning_configuration(
self,
value: impl Into<Output<BucketVersioningV2VersioningConfiguration>>,
) -> BucketVersioningV2ArgsBuilder<SetVersioningConfiguration<S>>where
S::VersioningConfiguration: IsUnset,
pub fn versioning_configuration(
self,
value: impl Into<Output<BucketVersioningV2VersioningConfiguration>>,
) -> BucketVersioningV2ArgsBuilder<SetVersioningConfiguration<S>>where
S::VersioningConfiguration: IsUnset,
Required.
Configuration block for the versioning parameters. See below.
Auto Trait Implementations§
impl<S> Freeze for BucketVersioningV2ArgsBuilder<S>
impl<S> RefUnwindSafe for BucketVersioningV2ArgsBuilder<S>
impl<S> Send for BucketVersioningV2ArgsBuilder<S>
impl<S> Sync for BucketVersioningV2ArgsBuilder<S>
impl<S> Unpin for BucketVersioningV2ArgsBuilder<S>
impl<S> UnwindSafe for BucketVersioningV2ArgsBuilder<S>
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