Class StorageBucketCustomPlacementConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.storage_bucket.StorageBucketCustomPlacementConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<StorageBucketCustomPlacementConfig>
- Enclosing interface:
- StorageBucketCustomPlacementConfig
@Stability(Stable) public static final class StorageBucketCustomPlacementConfig.Builder extends Object implements software.amazon.jsii.Builder<StorageBucketCustomPlacementConfig>
A builder forStorageBucketCustomPlacementConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StorageBucketCustomPlacementConfigbuild()Builds the configured instance.StorageBucketCustomPlacementConfig.BuilderdataLocations(List<String> dataLocations)Sets the value ofStorageBucketCustomPlacementConfig.getDataLocations()
-
-
-
Method Detail
-
dataLocations
@Stability(Stable) public StorageBucketCustomPlacementConfig.Builder dataLocations(List<String> dataLocations)
Sets the value ofStorageBucketCustomPlacementConfig.getDataLocations()- Parameters:
dataLocations- The list of individual regions that comprise a dual-region bucket. This parameter is required. See the docs for a list of acceptable regions. Note: If any of the data_locations changes, it will recreate the bucket. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#data_locations StorageBucket#data_locations}- Returns:
this
-
build
@Stability(Stable) public StorageBucketCustomPlacementConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StorageBucketCustomPlacementConfig>- Returns:
- a new instance of
StorageBucketCustomPlacementConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-