Class DataGoogleSecretManagerSecret.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_secret_manager_secret.DataGoogleSecretManagerSecret.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleSecretManagerSecret>
- Enclosing class:
- DataGoogleSecretManagerSecret
@Stability(Stable) public static final class DataGoogleSecretManagerSecret.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleSecretManagerSecret>
A fluent builder forDataGoogleSecretManagerSecret.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleSecretManagerSecretbuild()DataGoogleSecretManagerSecret.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataGoogleSecretManagerSecret.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataGoogleSecretManagerSecret.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataGoogleSecretManagerSecret.Buildercount(Number count)static DataGoogleSecretManagerSecret.Buildercreate(software.constructs.Construct scope, String id)DataGoogleSecretManagerSecret.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataGoogleSecretManagerSecret.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataGoogleSecretManagerSecret.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/secret_manager_secret#id DataGoogleSecretManagerSecret#id}.DataGoogleSecretManagerSecret.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataGoogleSecretManagerSecret.Builderproject(String project)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/secret_manager_secret#project DataGoogleSecretManagerSecret#project}.DataGoogleSecretManagerSecret.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataGoogleSecretManagerSecret.Builderprovisioners(List<? extends Object> provisioners)DataGoogleSecretManagerSecret.BuildersecretId(String secretId)This must be unique within the project.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataGoogleSecretManagerSecret.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
DataGoogleSecretManagerSecret.Builder.
-
connection
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleSecretManagerSecret.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
secretId
@Stability(Stable) public DataGoogleSecretManagerSecret.Builder secretId(String secretId)
This must be unique within the project.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/secret_manager_secret#secret_id DataGoogleSecretManagerSecret#secret_id}
- Parameters:
secretId- This must be unique within the project. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataGoogleSecretManagerSecret.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/secret_manager_secret#id DataGoogleSecretManagerSecret#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/secret_manager_secret#id DataGoogleSecretManagerSecret#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DataGoogleSecretManagerSecret.Builder project(String project)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/secret_manager_secret#project DataGoogleSecretManagerSecret#project}.- Parameters:
project- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/secret_manager_secret#project DataGoogleSecretManagerSecret#project}. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataGoogleSecretManagerSecret build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleSecretManagerSecret>- Returns:
- a newly built instance of
DataGoogleSecretManagerSecret.
-
-