Class StorageBucketEncryption.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • defaultKmsKeyName

        @Stability(Stable)
        public StorageBucketEncryption.Builder defaultKmsKeyName​(String defaultKmsKeyName)
        Parameters:
        defaultKmsKeyName - A Cloud KMS key that will be used to encrypt objects inserted into this bucket, if no encryption method is specified. This parameter is required. You must pay attention to whether the crypto key is available in the location that this bucket is created in. See the docs for more details. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/storage_bucket#default_kms_key_name StorageBucket#default_kms_key_name}
        Returns:
        this