Class KmsSecretCiphertext.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.kms_secret_ciphertext.KmsSecretCiphertext.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<KmsSecretCiphertext>
- Enclosing class:
- KmsSecretCiphertext
@Stability(Stable) public static final class KmsSecretCiphertext.Builder extends Object implements software.amazon.jsii.Builder<KmsSecretCiphertext>
A fluent builder forKmsSecretCiphertext.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KmsSecretCiphertext.BuilderadditionalAuthenticatedData(String additionalAuthenticatedData)The additional authenticated data used for integrity checks during encryption and decryption.KmsSecretCiphertextbuild()KmsSecretCiphertext.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)KmsSecretCiphertext.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)KmsSecretCiphertext.Buildercount(com.hashicorp.cdktf.TerraformCount count)KmsSecretCiphertext.Buildercount(Number count)static KmsSecretCiphertext.Buildercreate(software.constructs.Construct scope, String id)KmsSecretCiphertext.BuildercryptoKey(String cryptoKey)The full name of the CryptoKey that will be used to encrypt the provided plaintext.KmsSecretCiphertext.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)KmsSecretCiphertext.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)KmsSecretCiphertext.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_secret_ciphertext#id KmsSecretCiphertext#id}.KmsSecretCiphertext.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)KmsSecretCiphertext.Builderplaintext(String plaintext)The plaintext to be encrypted.KmsSecretCiphertext.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)KmsSecretCiphertext.Builderprovisioners(List<? extends Object> provisioners)KmsSecretCiphertext.Buildertimeouts(KmsSecretCiphertextTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static KmsSecretCiphertext.Builder create(software.constructs.Construct scope, String id)
- Parameters:
scope- The scope in which to define this construct. This parameter is required.id- The scoped construct ID. This parameter is required.- Returns:
- a new instance of
KmsSecretCiphertext.Builder.
-
connection
@Stability(Experimental) public KmsSecretCiphertext.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public KmsSecretCiphertext.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public KmsSecretCiphertext.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public KmsSecretCiphertext.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public KmsSecretCiphertext.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public KmsSecretCiphertext.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public KmsSecretCiphertext.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public KmsSecretCiphertext.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public KmsSecretCiphertext.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
cryptoKey
@Stability(Stable) public KmsSecretCiphertext.Builder cryptoKey(String cryptoKey)
The full name of the CryptoKey that will be used to encrypt the provided plaintext. Format: ''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}''.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_secret_ciphertext#crypto_key KmsSecretCiphertext#crypto_key}
- Parameters:
cryptoKey- The full name of the CryptoKey that will be used to encrypt the provided plaintext. Format: ''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}/cryptoKeys/{{cryptoKey}}''. This parameter is required.- Returns:
this
-
plaintext
@Stability(Stable) public KmsSecretCiphertext.Builder plaintext(String plaintext)
The plaintext to be encrypted.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_secret_ciphertext#plaintext KmsSecretCiphertext#plaintext}
- Parameters:
plaintext- The plaintext to be encrypted. This parameter is required.- Returns:
this
-
additionalAuthenticatedData
@Stability(Stable) public KmsSecretCiphertext.Builder additionalAuthenticatedData(String additionalAuthenticatedData)
The additional authenticated data used for integrity checks during encryption and decryption.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_secret_ciphertext#additional_authenticated_data KmsSecretCiphertext#additional_authenticated_data}
- Parameters:
additionalAuthenticatedData- The additional authenticated data used for integrity checks during encryption and decryption. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public KmsSecretCiphertext.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_secret_ciphertext#id KmsSecretCiphertext#id}.Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable.
- Parameters:
id- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_secret_ciphertext#id KmsSecretCiphertext#id}. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public KmsSecretCiphertext.Builder timeouts(KmsSecretCiphertextTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/kms_secret_ciphertext#timeouts KmsSecretCiphertext#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public KmsSecretCiphertext build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<KmsSecretCiphertext>- Returns:
- a newly built instance of
KmsSecretCiphertext.
-
-