pub struct BucketArgsBuilder<S: State = Empty> { /* private fields */ }
Expand description
Use builder syntax to set the inputs and finish with build_struct()
.
Implementations§
source§impl<S: State> BucketArgsBuilder<S>
impl<S: State> BucketArgsBuilder<S>
sourcepub fn build_struct(self) -> BucketArgswhere
S: IsComplete,
pub fn build_struct(self) -> BucketArgswhere
S: IsComplete,
Finish building and return the requested object
sourcepub fn autoclass(
self,
value: impl Into<Output<Option<BucketAutoclass>>>,
) -> BucketArgsBuilder<SetAutoclass<S>>where
S::Autoclass: IsUnset,
pub fn autoclass(
self,
value: impl Into<Output<Option<BucketAutoclass>>>,
) -> BucketArgsBuilder<SetAutoclass<S>>where
S::Autoclass: IsUnset,
sourcepub fn maybe_autoclass(
self,
value: Option<impl Into<Output<Option<BucketAutoclass>>>>,
) -> BucketArgsBuilder<SetAutoclass<S>>where
S::Autoclass: IsUnset,
pub fn maybe_autoclass(
self,
value: Option<impl Into<Output<Option<BucketAutoclass>>>>,
) -> BucketArgsBuilder<SetAutoclass<S>>where
S::Autoclass: IsUnset,
sourcepub fn cors(
self,
value: impl Into<Output<Option<Vec<BucketCor>>>>,
) -> BucketArgsBuilder<SetCors<S>>where
S::Cors: IsUnset,
pub fn cors(
self,
value: impl Into<Output<Option<Vec<BucketCor>>>>,
) -> BucketArgsBuilder<SetCors<S>>where
S::Cors: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::storage::BucketCor>>,
> as Default>::default()
The bucket’s Cross-Origin Resource Sharing (CORS) configuration. Multiple blocks of this type are permitted. Structure is documented below.
sourcepub fn maybe_cors(
self,
value: Option<impl Into<Output<Option<Vec<BucketCor>>>>>,
) -> BucketArgsBuilder<SetCors<S>>where
S::Cors: IsUnset,
pub fn maybe_cors(
self,
value: Option<impl Into<Output<Option<Vec<BucketCor>>>>>,
) -> BucketArgsBuilder<SetCors<S>>where
S::Cors: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::storage::BucketCor>>,
> as Default>::default()
The bucket’s Cross-Origin Resource Sharing (CORS) configuration. Multiple blocks of this type are permitted. Structure is documented below.
sourcepub fn custom_placement_config(
self,
value: impl Into<Output<Option<BucketCustomPlacementConfig>>>,
) -> BucketArgsBuilder<SetCustomPlacementConfig<S>>where
S::CustomPlacementConfig: IsUnset,
pub fn custom_placement_config(
self,
value: impl Into<Output<Option<BucketCustomPlacementConfig>>>,
) -> BucketArgsBuilder<SetCustomPlacementConfig<S>>where
S::CustomPlacementConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketCustomPlacementConfig>,
> as Default>::default()
The bucket’s custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. Structure is documented below.
sourcepub fn maybe_custom_placement_config(
self,
value: Option<impl Into<Output<Option<BucketCustomPlacementConfig>>>>,
) -> BucketArgsBuilder<SetCustomPlacementConfig<S>>where
S::CustomPlacementConfig: IsUnset,
pub fn maybe_custom_placement_config(
self,
value: Option<impl Into<Output<Option<BucketCustomPlacementConfig>>>>,
) -> BucketArgsBuilder<SetCustomPlacementConfig<S>>where
S::CustomPlacementConfig: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketCustomPlacementConfig>,
> as Default>::default()
The bucket’s custom location configuration, which specifies the individual regions that comprise a dual-region bucket. If the bucket is designated a single or multi-region, the parameters are empty. Structure is documented below.
sourcepub fn default_event_based_hold(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetDefaultEventBasedHold<S>>where
S::DefaultEventBasedHold: IsUnset,
pub fn default_event_based_hold(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetDefaultEventBasedHold<S>>where
S::DefaultEventBasedHold: IsUnset,
sourcepub fn maybe_default_event_based_hold(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetDefaultEventBasedHold<S>>where
S::DefaultEventBasedHold: IsUnset,
pub fn maybe_default_event_based_hold(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetDefaultEventBasedHold<S>>where
S::DefaultEventBasedHold: IsUnset,
sourcepub fn enable_object_retention(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetEnableObjectRetention<S>>where
S::EnableObjectRetention: IsUnset,
pub fn enable_object_retention(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetEnableObjectRetention<S>>where
S::EnableObjectRetention: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enables object retention on a storage bucket.
sourcepub fn maybe_enable_object_retention(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetEnableObjectRetention<S>>where
S::EnableObjectRetention: IsUnset,
pub fn maybe_enable_object_retention(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetEnableObjectRetention<S>>where
S::EnableObjectRetention: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enables object retention on a storage bucket.
sourcepub fn encryption(
self,
value: impl Into<Output<Option<BucketEncryption>>>,
) -> BucketArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
pub fn encryption(
self,
value: impl Into<Output<Option<BucketEncryption>>>,
) -> BucketArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
sourcepub fn maybe_encryption(
self,
value: Option<impl Into<Output<Option<BucketEncryption>>>>,
) -> BucketArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
pub fn maybe_encryption(
self,
value: Option<impl Into<Output<Option<BucketEncryption>>>>,
) -> BucketArgsBuilder<SetEncryption<S>>where
S::Encryption: IsUnset,
sourcepub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn force_destroy(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
pub fn maybe_force_destroy(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetForceDestroy<S>>where
S::ForceDestroy: IsUnset,
sourcepub fn hierarchical_namespace(
self,
value: impl Into<Output<Option<BucketHierarchicalNamespace>>>,
) -> BucketArgsBuilder<SetHierarchicalNamespace<S>>where
S::HierarchicalNamespace: IsUnset,
pub fn hierarchical_namespace(
self,
value: impl Into<Output<Option<BucketHierarchicalNamespace>>>,
) -> BucketArgsBuilder<SetHierarchicalNamespace<S>>where
S::HierarchicalNamespace: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketHierarchicalNamespace>,
> as Default>::default()
The bucket’s hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below. To use this configuration, uniform_bucket_level_access
must be enabled on bucket.
sourcepub fn maybe_hierarchical_namespace(
self,
value: Option<impl Into<Output<Option<BucketHierarchicalNamespace>>>>,
) -> BucketArgsBuilder<SetHierarchicalNamespace<S>>where
S::HierarchicalNamespace: IsUnset,
pub fn maybe_hierarchical_namespace(
self,
value: Option<impl Into<Output<Option<BucketHierarchicalNamespace>>>>,
) -> BucketArgsBuilder<SetHierarchicalNamespace<S>>where
S::HierarchicalNamespace: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketHierarchicalNamespace>,
> as Default>::default()
The bucket’s hierarchical namespace policy, which defines the bucket capability to handle folders in logical structure. Structure is documented below. To use this configuration, uniform_bucket_level_access
must be enabled on bucket.
sourcepub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> BucketArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn labels(
self,
value: impl Into<Output<Option<HashMap<String, String>>>>,
) -> BucketArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
sourcepub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> BucketArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
pub fn maybe_labels(
self,
value: Option<impl Into<Output<Option<HashMap<String, String>>>>>,
) -> BucketArgsBuilder<SetLabels<S>>where
S::Labels: IsUnset,
sourcepub fn lifecycle_rules(
self,
value: impl Into<Output<Option<Vec<BucketLifecycleRule>>>>,
) -> BucketArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
pub fn lifecycle_rules(
self,
value: impl Into<Output<Option<Vec<BucketLifecycleRule>>>>,
) -> BucketArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::storage::BucketLifecycleRule>>,
> as Default>::default()
The bucket’s Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.
sourcepub fn maybe_lifecycle_rules(
self,
value: Option<impl Into<Output<Option<Vec<BucketLifecycleRule>>>>>,
) -> BucketArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
pub fn maybe_lifecycle_rules(
self,
value: Option<impl Into<Output<Option<Vec<BucketLifecycleRule>>>>>,
) -> BucketArgsBuilder<SetLifecycleRules<S>>where
S::LifecycleRules: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<Vec<super::super::types::storage::BucketLifecycleRule>>,
> as Default>::default()
The bucket’s Lifecycle Rules configuration. Multiple blocks of this type are permitted. Structure is documented below.
sourcepub fn location(
self,
value: impl Into<Output<String>>,
) -> BucketArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
pub fn location(
self,
value: impl Into<Output<String>>,
) -> BucketArgsBuilder<SetLocation<S>>where
S::Location: IsUnset,
sourcepub fn logging(
self,
value: impl Into<Output<Option<BucketLogging>>>,
) -> BucketArgsBuilder<SetLogging<S>>where
S::Logging: IsUnset,
pub fn logging(
self,
value: impl Into<Output<Option<BucketLogging>>>,
) -> BucketArgsBuilder<SetLogging<S>>where
S::Logging: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketLogging>,
> as Default>::default()
The bucket’s Access & Storage Logs configuration. Structure is documented below.
sourcepub fn maybe_logging(
self,
value: Option<impl Into<Output<Option<BucketLogging>>>>,
) -> BucketArgsBuilder<SetLogging<S>>where
S::Logging: IsUnset,
pub fn maybe_logging(
self,
value: Option<impl Into<Output<Option<BucketLogging>>>>,
) -> BucketArgsBuilder<SetLogging<S>>where
S::Logging: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketLogging>,
> as Default>::default()
The bucket’s Access & Storage Logs configuration. Structure is documented below.
sourcepub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn name(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
pub fn maybe_name(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetName<S>>where
S::Name: IsUnset,
sourcepub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn project(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
pub fn maybe_project(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetProject<S>>where
S::Project: IsUnset,
sourcepub fn public_access_prevention(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetPublicAccessPrevention<S>>where
S::PublicAccessPrevention: IsUnset,
pub fn public_access_prevention(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetPublicAccessPrevention<S>>where
S::PublicAccessPrevention: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Prevents public access to a bucket. Acceptable values are “inherited” or “enforced”. If “inherited”, the bucket uses public access prevention. only if the bucket is subject to the public access prevention organization policy constraint. Defaults to “inherited”.
sourcepub fn maybe_public_access_prevention(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetPublicAccessPrevention<S>>where
S::PublicAccessPrevention: IsUnset,
pub fn maybe_public_access_prevention(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetPublicAccessPrevention<S>>where
S::PublicAccessPrevention: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
Prevents public access to a bucket. Acceptable values are “inherited” or “enforced”. If “inherited”, the bucket uses public access prevention. only if the bucket is subject to the public access prevention organization policy constraint. Defaults to “inherited”.
sourcepub fn requester_pays(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetRequesterPays<S>>where
S::RequesterPays: IsUnset,
pub fn requester_pays(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetRequesterPays<S>>where
S::RequesterPays: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enables Requester Pays on a storage bucket.
sourcepub fn maybe_requester_pays(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetRequesterPays<S>>where
S::RequesterPays: IsUnset,
pub fn maybe_requester_pays(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetRequesterPays<S>>where
S::RequesterPays: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enables Requester Pays on a storage bucket.
sourcepub fn retention_policy(
self,
value: impl Into<Output<Option<BucketRetentionPolicy>>>,
) -> BucketArgsBuilder<SetRetentionPolicy<S>>where
S::RetentionPolicy: IsUnset,
pub fn retention_policy(
self,
value: impl Into<Output<Option<BucketRetentionPolicy>>>,
) -> BucketArgsBuilder<SetRetentionPolicy<S>>where
S::RetentionPolicy: IsUnset,
sourcepub fn maybe_retention_policy(
self,
value: Option<impl Into<Output<Option<BucketRetentionPolicy>>>>,
) -> BucketArgsBuilder<SetRetentionPolicy<S>>where
S::RetentionPolicy: IsUnset,
pub fn maybe_retention_policy(
self,
value: Option<impl Into<Output<Option<BucketRetentionPolicy>>>>,
) -> BucketArgsBuilder<SetRetentionPolicy<S>>where
S::RetentionPolicy: IsUnset,
sourcepub fn rpo(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetRpo<S>>where
S::Rpo: IsUnset,
pub fn rpo(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetRpo<S>>where
S::Rpo: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. "DEFAULT"
sets default replication. "ASYNC_TURBO"
value enables turbo replication, valid for dual-region buckets only. See Turbo Replication for more information. If rpo is not specified at bucket creation, it defaults to "DEFAULT"
for dual and multi-region buckets. NOTE If used with single-region bucket, It will throw an error.
sourcepub fn maybe_rpo(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetRpo<S>>where
S::Rpo: IsUnset,
pub fn maybe_rpo(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetRpo<S>>where
S::Rpo: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The recovery point objective for cross-region replication of the bucket. Applicable only for dual and multi-region buckets. "DEFAULT"
sets default replication. "ASYNC_TURBO"
value enables turbo replication, valid for dual-region buckets only. See Turbo Replication for more information. If rpo is not specified at bucket creation, it defaults to "DEFAULT"
for dual and multi-region buckets. NOTE If used with single-region bucket, It will throw an error.
sourcepub fn soft_delete_policy(
self,
value: impl Into<Output<Option<BucketSoftDeletePolicy>>>,
) -> BucketArgsBuilder<SetSoftDeletePolicy<S>>where
S::SoftDeletePolicy: IsUnset,
pub fn soft_delete_policy(
self,
value: impl Into<Output<Option<BucketSoftDeletePolicy>>>,
) -> BucketArgsBuilder<SetSoftDeletePolicy<S>>where
S::SoftDeletePolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketSoftDeletePolicy>,
> as Default>::default()
The bucket’s soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
sourcepub fn maybe_soft_delete_policy(
self,
value: Option<impl Into<Output<Option<BucketSoftDeletePolicy>>>>,
) -> BucketArgsBuilder<SetSoftDeletePolicy<S>>where
S::SoftDeletePolicy: IsUnset,
pub fn maybe_soft_delete_policy(
self,
value: Option<impl Into<Output<Option<BucketSoftDeletePolicy>>>>,
) -> BucketArgsBuilder<SetSoftDeletePolicy<S>>where
S::SoftDeletePolicy: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketSoftDeletePolicy>,
> as Default>::default()
The bucket’s soft delete policy, which defines the period of time that soft-deleted objects will be retained, and cannot be permanently deleted. If it is not provided, by default Google Cloud Storage sets this to default soft delete policy
sourcepub fn storage_class(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
pub fn storage_class(
self,
value: impl Into<Output<Option<String>>>,
) -> BucketArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The Storage Class of the new bucket. Supported values include: STANDARD
, MULTI_REGIONAL
, REGIONAL
, NEARLINE
, COLDLINE
, ARCHIVE
.
sourcepub fn maybe_storage_class(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
pub fn maybe_storage_class(
self,
value: Option<impl Into<Output<Option<String>>>>,
) -> BucketArgsBuilder<SetStorageClass<S>>where
S::StorageClass: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<String>> as Default>::default()
.
The Storage Class of the new bucket. Supported values include: STANDARD
, MULTI_REGIONAL
, REGIONAL
, NEARLINE
, COLDLINE
, ARCHIVE
.
sourcepub fn uniform_bucket_level_access(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetUniformBucketLevelAccess<S>>where
S::UniformBucketLevelAccess: IsUnset,
pub fn uniform_bucket_level_access(
self,
value: impl Into<Output<Option<bool>>>,
) -> BucketArgsBuilder<SetUniformBucketLevelAccess<S>>where
S::UniformBucketLevelAccess: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enables Uniform bucket-level access access to a bucket.
sourcepub fn maybe_uniform_bucket_level_access(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetUniformBucketLevelAccess<S>>where
S::UniformBucketLevelAccess: IsUnset,
pub fn maybe_uniform_bucket_level_access(
self,
value: Option<impl Into<Output<Option<bool>>>>,
) -> BucketArgsBuilder<SetUniformBucketLevelAccess<S>>where
S::UniformBucketLevelAccess: IsUnset,
Optional (Some / Option setters). Default: <pulumi_wasm_rust::Output<Option<bool>> as Default>::default()
.
Enables Uniform bucket-level access access to a bucket.
sourcepub fn versioning(
self,
value: impl Into<Output<Option<BucketVersioning>>>,
) -> BucketArgsBuilder<SetVersioning<S>>where
S::Versioning: IsUnset,
pub fn versioning(
self,
value: impl Into<Output<Option<BucketVersioning>>>,
) -> BucketArgsBuilder<SetVersioning<S>>where
S::Versioning: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketVersioning>,
> as Default>::default()
The bucket’s Versioning configuration. Structure is documented below.
sourcepub fn maybe_versioning(
self,
value: Option<impl Into<Output<Option<BucketVersioning>>>>,
) -> BucketArgsBuilder<SetVersioning<S>>where
S::Versioning: IsUnset,
pub fn maybe_versioning(
self,
value: Option<impl Into<Output<Option<BucketVersioning>>>>,
) -> BucketArgsBuilder<SetVersioning<S>>where
S::Versioning: IsUnset,
Optional (Some / Option setters). Default:
<pulumi_wasm_rust::Output<
Option<super::super::types::storage::BucketVersioning>,
> as Default>::default()
The bucket’s Versioning configuration. Structure is documented below.