Class DataGoogleKmsCryptoKey.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_kms_crypto_key.DataGoogleKmsCryptoKey.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleKmsCryptoKey>
- Enclosing class:
- DataGoogleKmsCryptoKey
@Stability(Stable) public static final class DataGoogleKmsCryptoKey.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleKmsCryptoKey>
A fluent builder forDataGoogleKmsCryptoKey.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleKmsCryptoKeybuild()DataGoogleKmsCryptoKey.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataGoogleKmsCryptoKey.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataGoogleKmsCryptoKey.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataGoogleKmsCryptoKey.Buildercount(Number count)static DataGoogleKmsCryptoKey.Buildercreate(software.constructs.Construct scope, String id)DataGoogleKmsCryptoKey.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataGoogleKmsCryptoKey.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataGoogleKmsCryptoKey.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/kms_crypto_key#id DataGoogleKmsCryptoKey#id}.DataGoogleKmsCryptoKey.BuilderkeyRing(String keyRing)The KeyRing that this key belongs to.DataGoogleKmsCryptoKey.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataGoogleKmsCryptoKey.Buildername(String name)The resource name for the CryptoKey.DataGoogleKmsCryptoKey.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataGoogleKmsCryptoKey.Builderprovisioners(List<? extends Object> provisioners)
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataGoogleKmsCryptoKey.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
DataGoogleKmsCryptoKey.Builder.
-
connection
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleKmsCryptoKey.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
keyRing
@Stability(Stable) public DataGoogleKmsCryptoKey.Builder keyRing(String keyRing)
The KeyRing that this key belongs to. Format: ''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/kms_crypto_key#key_ring DataGoogleKmsCryptoKey#key_ring}
- Parameters:
keyRing- The KeyRing that this key belongs to. Format: ''projects/{{project}}/locations/{{location}}/keyRings/{{keyRing}}''. This parameter is required.- Returns:
this
-
name
@Stability(Stable) public DataGoogleKmsCryptoKey.Builder name(String name)
The resource name for the CryptoKey.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/kms_crypto_key#name DataGoogleKmsCryptoKey#name}
- Parameters:
name- The resource name for the CryptoKey. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataGoogleKmsCryptoKey.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/kms_crypto_key#id DataGoogleKmsCryptoKey#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/data-sources/kms_crypto_key#id DataGoogleKmsCryptoKey#id}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataGoogleKmsCryptoKey build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleKmsCryptoKey>- Returns:
- a newly built instance of
DataGoogleKmsCryptoKey.
-
-