Class BigtableInstanceCluster.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • clusterId

        @Stability(Stable)
        public BigtableInstanceCluster.Builder clusterId​(String clusterId)
        Parameters:
        clusterId - The ID of the Cloud Bigtable cluster. This parameter is required. Must be 6-30 characters and must only contain hyphens, lowercase letters and numbers. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_instance#cluster_id BigtableInstance#cluster_id}
        Returns:
        this
      • kmsKeyName

        @Stability(Stable)
        public BigtableInstanceCluster.Builder kmsKeyName​(String kmsKeyName)
        Parameters:
        kmsKeyName - Describes the Cloud KMS encryption key that will be used to protect the destination Bigtable cluster. The requirements for this key are: 1) The Cloud Bigtable service account associated with the project that contains this cluster must be granted the cloudkms.cryptoKeyEncrypterDecrypter role on the CMEK key. 2) Only regional keys can be used and the region of the CMEK key must match the region of the cluster. 3) All clusters within an instance must use the same CMEK key. Values are of the form projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key} Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_instance#kms_key_name BigtableInstance#kms_key_name}
        Returns:
        this
      • numNodes

        @Stability(Stable)
        public BigtableInstanceCluster.Builder numNodes​(Number numNodes)
        Parameters:
        numNodes - The number of nodes in the cluster. If no value is set, Cloud Bigtable automatically allocates nodes based on your data footprint and optimized for 50% storage utilization. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_instance#num_nodes BigtableInstance#num_nodes}
        Returns:
        this
      • storageType

        @Stability(Stable)
        public BigtableInstanceCluster.Builder storageType​(String storageType)
        Parameters:
        storageType - The storage type to use. One of "SSD" or "HDD". Defaults to "SSD". Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_instance#storage_type BigtableInstance#storage_type}
        Returns:
        this
      • zone

        @Stability(Stable)
        public BigtableInstanceCluster.Builder zone​(String zone)
        Parameters:
        zone - The zone to create the Cloud Bigtable cluster in. Each cluster must have a different zone in the same region. Zones that support Bigtable instances are noted on the Cloud Bigtable locations page. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/bigtable_instance#zone BigtableInstance#zone}
        Returns:
        this