Class IntegrationsClientCloudKmsConfig.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • key

        @Stability(Stable)
        public IntegrationsClientCloudKmsConfig.Builder key​(String key)
        Parameters:
        key - A Cloud KMS key is a named object containing one or more key versions, along with metadata for the key. This parameter is required. A key exists on exactly one key ring tied to a specific location. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_client#key IntegrationsClient#key}
        Returns:
        this
      • kmsLocation

        @Stability(Stable)
        public IntegrationsClientCloudKmsConfig.Builder kmsLocation​(String kmsLocation)
        Parameters:
        kmsLocation - Location name of the key ring, e.g. "us-west1". This parameter is required. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_client#kms_location IntegrationsClient#kms_location}
        Returns:
        this
      • kmsRing

        @Stability(Stable)
        public IntegrationsClientCloudKmsConfig.Builder kmsRing​(String kmsRing)
        Parameters:
        kmsRing - A key ring organizes keys in a specific Google Cloud location and allows you to manage access control on groups of keys. This parameter is required. A key ring's name does not need to be unique across a Google Cloud project, but must be unique within a given location. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_client#kms_ring IntegrationsClient#kms_ring}
        Returns:
        this
      • keyVersion

        @Stability(Stable)
        public IntegrationsClientCloudKmsConfig.Builder keyVersion​(String keyVersion)
        Parameters:
        keyVersion - Each version of a key contains key material used for encryption or signing. A key's version is represented by an integer, starting at 1. To decrypt data or verify a signature, you must use the same key version that was used to encrypt or sign the data. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_client#key_version IntegrationsClient#key_version}
        Returns:
        this
      • kmsProjectId

        @Stability(Stable)
        public IntegrationsClientCloudKmsConfig.Builder kmsProjectId​(String kmsProjectId)
        Parameters:
        kmsProjectId - The Google Cloud project id of the project where the kms key stored. If empty, the kms key is stored at the same project as customer's project and ecrypted with CMEK, otherwise, the kms key is stored in the tenant project and encrypted with GMEK. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/integrations_client#kms_project_id IntegrationsClient#kms_project_id}
        Returns:
        this