Class IntegrationsClientCloudKmsConfig.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.integrations_client.IntegrationsClientCloudKmsConfig.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<IntegrationsClientCloudKmsConfig>
- Enclosing interface:
- IntegrationsClientCloudKmsConfig
@Stability(Stable) public static final class IntegrationsClientCloudKmsConfig.Builder extends Object implements software.amazon.jsii.Builder<IntegrationsClientCloudKmsConfig>
A builder forIntegrationsClientCloudKmsConfig
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegrationsClientCloudKmsConfigbuild()Builds the configured instance.IntegrationsClientCloudKmsConfig.Builderkey(String key)Sets the value ofIntegrationsClientCloudKmsConfig.getKey()IntegrationsClientCloudKmsConfig.BuilderkeyVersion(String keyVersion)Sets the value ofIntegrationsClientCloudKmsConfig.getKeyVersion()IntegrationsClientCloudKmsConfig.BuilderkmsLocation(String kmsLocation)Sets the value ofIntegrationsClientCloudKmsConfig.getKmsLocation()IntegrationsClientCloudKmsConfig.BuilderkmsProjectId(String kmsProjectId)Sets the value ofIntegrationsClientCloudKmsConfig.getKmsProjectId()IntegrationsClientCloudKmsConfig.BuilderkmsRing(String kmsRing)Sets the value ofIntegrationsClientCloudKmsConfig.getKmsRing()
-
-
-
Method Detail
-
key
@Stability(Stable) public IntegrationsClientCloudKmsConfig.Builder key(String key)
Sets the value ofIntegrationsClientCloudKmsConfig.getKey()- 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)
Sets the value ofIntegrationsClientCloudKmsConfig.getKmsLocation()- 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)
Sets the value ofIntegrationsClientCloudKmsConfig.getKmsRing()- 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)
Sets the value ofIntegrationsClientCloudKmsConfig.getKeyVersion()- 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)
Sets the value ofIntegrationsClientCloudKmsConfig.getKmsProjectId()- 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
-
build
@Stability(Stable) public IntegrationsClientCloudKmsConfig build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<IntegrationsClientCloudKmsConfig>- Returns:
- a new instance of
IntegrationsClientCloudKmsConfig - Throws:
NullPointerException- if any required attribute was not provided
-
-