pub struct BucketLifecycleConfigurationV2ArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketLifecycleConfigurationV2ArgsBuilder<S>
impl<S: State> BucketLifecycleConfigurationV2ArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketLifecycleConfigurationV2Argswhere
S: IsComplete,
pub fn build_struct(self) -> BucketLifecycleConfigurationV2Argswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
pub fn bucket(
self,
value: impl Into<Output<String>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetBucket<S>>where
S::Bucket: IsUnset,
Required.
Name of the source S3 bucket you want Amazon S3 to monitor.
sourcepub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn expected_bucket_owner(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
pub fn maybe_expected_bucket_owner(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetExpectedBucketOwner<S>>where
S::ExpectedBucketOwner: IsUnset,
sourcepub fn rules(
self,
value: impl Into<Output<Vec<BucketLifecycleConfigurationV2Rule>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
pub fn rules(
self,
value: impl Into<Output<Vec<BucketLifecycleConfigurationV2Rule>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetRules<S>>where
S::Rules: IsUnset,
Required.
List of configuration blocks describing the rules managing the replication. See below.
sourcepub fn transition_default_minimum_object_size(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetTransitionDefaultMinimumObjectSize<S>>where
S::TransitionDefaultMinimumObjectSize: IsUnset,
pub fn transition_default_minimum_object_size(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetTransitionDefaultMinimumObjectSize<S>>where
S::TransitionDefaultMinimumObjectSize: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The default minimum object size behavior applied to the lifecycle configuration. Valid values: all_storage_classes_128K
(default), varies_by_storage_class
. To customize the minimum object size for any transition you can add a filter
that specifies a custom object_size_greater_than
or object_size_less_than
value. Custom filters always take precedence over the default transition behavior.
sourcepub fn maybe_transition_default_minimum_object_size(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetTransitionDefaultMinimumObjectSize<S>>where
S::TransitionDefaultMinimumObjectSize: IsUnset,
pub fn maybe_transition_default_minimum_object_size(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketLifecycleConfigurationV2ArgsBuilder<SetTransitionDefaultMinimumObjectSize<S>>where
S::TransitionDefaultMinimumObjectSize: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The default minimum object size behavior applied to the lifecycle configuration. Valid values: all_storage_classes_128K
(default), varies_by_storage_class
. To customize the minimum object size for any transition you can add a filter
that specifies a custom object_size_greater_than
or object_size_less_than
value. Custom filters always take precedence over the default transition behavior.