pub struct BucketLoggingV2ArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketLoggingV2ArgsBuilder<S>
impl<S: State> BucketLoggingV2ArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketLoggingV2Argswhere
S: IsComplete,
pub fn build_struct(self) -> BucketLoggingV2Argswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketLoggingV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketLoggingV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the bucket.
sourcepub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketLoggingV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketLoggingV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketLoggingV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketLoggingV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn target_bucket(
self,
value: impl Into<Output<String>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetBucket<S>>where
S::TargetBucket: IsUnset,
pub fn target_bucket(
self,
value: impl Into<Output<String>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetBucket<S>>where
S::TargetBucket: IsUnset,
Required.
Name of the bucket where you want Amazon S3 to store server access logs.
sourcepub fn target_grants(
self,
value: impl Into<Output<Option<Vec<BucketLoggingV2TargetGrant>>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetGrants<S>>where
S::TargetGrants: IsUnset,
pub fn target_grants(
self,
value: impl Into<Output<Option<Vec<BucketLoggingV2TargetGrant>>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetGrants<S>>where
S::TargetGrants: IsUnset,
sourcepub fn maybe_target_grants(
self,
value: Option<impl Into<Output<Option<Vec<BucketLoggingV2TargetGrant>>>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetGrants<S>>where
S::TargetGrants: IsUnset,
pub fn maybe_target_grants(
self,
value: Option<impl Into<Output<Option<Vec<BucketLoggingV2TargetGrant>>>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetGrants<S>>where
S::TargetGrants: IsUnset,
sourcepub fn target_object_key_format(
self,
value: impl Into<Output<Option<BucketLoggingV2TargetObjectKeyFormat>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetObjectKeyFormat<S>>where
S::TargetObjectKeyFormat: IsUnset,
pub fn target_object_key_format(
self,
value: impl Into<Output<Option<BucketLoggingV2TargetObjectKeyFormat>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetObjectKeyFormat<S>>where
S::TargetObjectKeyFormat: IsUnset,
sourcepub fn maybe_target_object_key_format(
self,
value: Option<impl Into<Output<Option<BucketLoggingV2TargetObjectKeyFormat>>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetObjectKeyFormat<S>>where
S::TargetObjectKeyFormat: IsUnset,
pub fn maybe_target_object_key_format(
self,
value: Option<impl Into<Output<Option<BucketLoggingV2TargetObjectKeyFormat>>>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetObjectKeyFormat<S>>where
S::TargetObjectKeyFormat: IsUnset,
sourcepub fn target_prefix(
self,
value: impl Into<Output<String>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetPrefix<S>>where
S::TargetPrefix: IsUnset,
pub fn target_prefix(
self,
value: impl Into<Output<String>>,
) -> BucketLoggingV2ArgsBuilder<SetTargetPrefix<S>>where
S::TargetPrefix: IsUnset,
Required.
Prefix for all log object keys.
Auto Trait Implementations§
impl<S> Freeze for BucketLoggingV2ArgsBuilder<S>
impl<S> RefUnwindSafe for BucketLoggingV2ArgsBuilder<S>
impl<S> Send for BucketLoggingV2ArgsBuilder<S>
impl<S> Sync for BucketLoggingV2ArgsBuilder<S>
impl<S> Unpin for BucketLoggingV2ArgsBuilder<S>
impl<S> UnwindSafe for BucketLoggingV2ArgsBuilder<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