pub struct BucketMetricArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketMetricArgsBuilder<S>
impl<S: State> BucketMetricArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketMetricArgswhere
S: IsComplete,
pub fn build_struct(self) -> BucketMetricArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketMetricArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketMetricArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the bucket to put metric configuration.
sourcepub fn filter(
self,
value: impl Into<Output<Option<BucketMetricFilter>>>,
) -> BucketMetricArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn filter(
self,
value: impl Into<Output<Option<BucketMetricFilter>>>,
) -> BucketMetricArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<super::super::types::s3::BucketMetricFilter>,
> as Default>::default()
Object filtering that accepts a prefix, tags, or a logical AND of prefix and tags (documented below).
sourcepub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<BucketMetricFilter>>>>,
) -> BucketMetricArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
pub fn maybe_filter(
self,
value: Option<impl Into<Output<Option<BucketMetricFilter>>>>,
) -> BucketMetricArgsBuilder<SetFilter<S>>where
S::Filter: IsUnset,
Optional (Some / Option setters). Default:
ⓘ
<pulumi_wasm_rust::Output<
Option<super::super::types::s3::BucketMetricFilter>,
> as Default>::default()
Object filtering that accepts a prefix, tags, or a logical AND of prefix and tags (documented below).
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketMetricArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketMetricArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketMetricArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketMetricArgsBuilder<SetName<S>>where
S::Name: IsUnset,
Auto Trait Implementations§
impl<S> Freeze for BucketMetricArgsBuilder<S>
impl<S> RefUnwindSafe for BucketMetricArgsBuilder<S>
impl<S> Send for BucketMetricArgsBuilder<S>
impl<S> Sync for BucketMetricArgsBuilder<S>
impl<S> Unpin for BucketMetricArgsBuilder<S>
impl<S> UnwindSafe for BucketMetricArgsBuilder<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