Class PrivatecaCertificateAuthorityKeySpec.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.privateca_certificate_authority.PrivatecaCertificateAuthorityKeySpec.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<PrivatecaCertificateAuthorityKeySpec>
- Enclosing interface:
- PrivatecaCertificateAuthorityKeySpec
@Stability(Stable) public static final class PrivatecaCertificateAuthorityKeySpec.Builder extends Object implements software.amazon.jsii.Builder<PrivatecaCertificateAuthorityKeySpec>
A builder forPrivatecaCertificateAuthorityKeySpec
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivatecaCertificateAuthorityKeySpec.Builderalgorithm(String algorithm)Sets the value ofPrivatecaCertificateAuthorityKeySpec.getAlgorithm()PrivatecaCertificateAuthorityKeySpecbuild()Builds the configured instance.PrivatecaCertificateAuthorityKeySpec.BuildercloudKmsKeyVersion(String cloudKmsKeyVersion)Sets the value ofPrivatecaCertificateAuthorityKeySpec.getCloudKmsKeyVersion()
-
-
-
Method Detail
-
algorithm
@Stability(Stable) public PrivatecaCertificateAuthorityKeySpec.Builder algorithm(String algorithm)
Sets the value ofPrivatecaCertificateAuthorityKeySpec.getAlgorithm()- Parameters:
algorithm- The algorithm to use for creating a managed Cloud KMS key for a for a simplified experience. All managed keys will be have their ProtectionLevel as HSM. Possible values: ["SIGN_HASH_ALGORITHM_UNSPECIFIED", "RSA_PSS_2048_SHA256", "RSA_PSS_3072_SHA256", "RSA_PSS_4096_SHA256", "RSA_PKCS1_2048_SHA256", "RSA_PKCS1_3072_SHA256", "RSA_PKCS1_4096_SHA256", "EC_P256_SHA256", "EC_P384_SHA384"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#algorithm PrivatecaCertificateAuthority#algorithm}- Returns:
this
-
cloudKmsKeyVersion
@Stability(Stable) public PrivatecaCertificateAuthorityKeySpec.Builder cloudKmsKeyVersion(String cloudKmsKeyVersion)
Sets the value ofPrivatecaCertificateAuthorityKeySpec.getCloudKmsKeyVersion()- Parameters:
cloudKmsKeyVersion- The resource name for an existing Cloud KMS CryptoKeyVersion in the format 'projects/* /locations/* /keyRings/* /cryptoKeys/* /cryptoKeyVersions/*'. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/privateca_certificate_authority#cloud_kms_key_version PrivatecaCertificateAuthority#cloud_kms_key_version} Note: The above comment contained a comment block ending sequence (* followed by /). We have introduced a space between to prevent syntax errors. Please ignore the space.- Returns:
this
-
build
@Stability(Stable) public PrivatecaCertificateAuthorityKeySpec build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<PrivatecaCertificateAuthorityKeySpec>- Returns:
- a new instance of
PrivatecaCertificateAuthorityKeySpec - Throws:
NullPointerException- if any required attribute was not provided
-
-