Class KmsCryptoKeyVersionExternalProtectionLevelOptions.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.kms_crypto_key_version.KmsCryptoKeyVersionExternalProtectionLevelOptions.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KmsCryptoKeyVersionExternalProtectionLevelOptions>
- Enclosing interface:
- KmsCryptoKeyVersionExternalProtectionLevelOptions
@Stability(Stable) public static final class KmsCryptoKeyVersionExternalProtectionLevelOptions.Builder extends Object implements software.amazon.jsii.Builder<KmsCryptoKeyVersionExternalProtectionLevelOptions>
A builder forKmsCryptoKeyVersionExternalProtectionLevelOptions
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KmsCryptoKeyVersionExternalProtectionLevelOptionsbuild()Builds the configured instance.KmsCryptoKeyVersionExternalProtectionLevelOptions.BuilderekmConnectionKeyPath(String ekmConnectionKeyPath)KmsCryptoKeyVersionExternalProtectionLevelOptions.BuilderexternalKeyUri(String externalKeyUri)Sets the value ofKmsCryptoKeyVersionExternalProtectionLevelOptions.getExternalKeyUri()
-
-
-
Method Detail
-
ekmConnectionKeyPath
@Stability(Stable) public KmsCryptoKeyVersionExternalProtectionLevelOptions.Builder ekmConnectionKeyPath(String ekmConnectionKeyPath)
- Parameters:
ekmConnectionKeyPath- The path to the external key material on the EKM when using EkmConnection e.g., "v0/my/key". Set this field instead of externalKeyUri when using an EkmConnection. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_crypto_key_version#ekm_connection_key_path KmsCryptoKeyVersion#ekm_connection_key_path}- Returns:
this
-
externalKeyUri
@Stability(Stable) public KmsCryptoKeyVersionExternalProtectionLevelOptions.Builder externalKeyUri(String externalKeyUri)
Sets the value ofKmsCryptoKeyVersionExternalProtectionLevelOptions.getExternalKeyUri()- Parameters:
externalKeyUri- The URI for an external resource that this CryptoKeyVersion represents. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_crypto_key_version#external_key_uri KmsCryptoKeyVersion#external_key_uri}- Returns:
this
-
build
@Stability(Stable) public KmsCryptoKeyVersionExternalProtectionLevelOptions build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KmsCryptoKeyVersionExternalProtectionLevelOptions>- Returns:
- a new instance of
KmsCryptoKeyVersionExternalProtectionLevelOptions - Throws:
NullPointerException- if any required attribute was not provided
-
-