Class DataGoogleSqlDatabaseInstances.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.data_google_sql_database_instances.DataGoogleSqlDatabaseInstances.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataGoogleSqlDatabaseInstances>
- Enclosing class:
- DataGoogleSqlDatabaseInstances
@Stability(Stable) public static final class DataGoogleSqlDatabaseInstances.Builder extends Object implements software.amazon.jsii.Builder<DataGoogleSqlDatabaseInstances>
A fluent builder forDataGoogleSqlDatabaseInstances.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DataGoogleSqlDatabaseInstancesbuild()DataGoogleSqlDatabaseInstances.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)DataGoogleSqlDatabaseInstances.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)DataGoogleSqlDatabaseInstances.Buildercount(com.hashicorp.cdktf.TerraformCount count)DataGoogleSqlDatabaseInstances.Buildercount(Number count)static DataGoogleSqlDatabaseInstances.Buildercreate(software.constructs.Construct scope, String id)DataGoogleSqlDatabaseInstances.BuilderdatabaseVersion(String databaseVersion)To filter out the database instances which are of the specified database version.DataGoogleSqlDatabaseInstances.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)DataGoogleSqlDatabaseInstances.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)DataGoogleSqlDatabaseInstances.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#id DataGoogleSqlDatabaseInstances#id}.DataGoogleSqlDatabaseInstances.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)DataGoogleSqlDatabaseInstances.Builderproject(String project)Project ID of the project that contains the instances.DataGoogleSqlDatabaseInstances.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)DataGoogleSqlDatabaseInstances.Builderprovisioners(List<? extends Object> provisioners)DataGoogleSqlDatabaseInstances.Builderregion(String region)To filter out the database instances which are located in this specified region.DataGoogleSqlDatabaseInstances.Builderstate(String state)To filter out the database instances based on the current state of the database instance, valid values include : "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", "SUSPENDED", "PENDING_DELETE", "PENDING_CREATE", "MAINTENANCE" and "FAILED".DataGoogleSqlDatabaseInstances.Buildertier(String tier)To filter out the database instances based on the machine type.DataGoogleSqlDatabaseInstances.Builderzone(String zone)To filter out the database instances which are located in this specified zone.
-
-
-
Method Detail
-
create
@Stability(Stable) public static DataGoogleSqlDatabaseInstances.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
DataGoogleSqlDatabaseInstances.Builder.
-
connection
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public DataGoogleSqlDatabaseInstances.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
databaseVersion
@Stability(Stable) public DataGoogleSqlDatabaseInstances.Builder databaseVersion(String databaseVersion)
To filter out the database instances which are of the specified database version.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#database_version DataGoogleSqlDatabaseInstances#database_version}
- Parameters:
databaseVersion- To filter out the database instances which are of the specified database version. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public DataGoogleSqlDatabaseInstances.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#id DataGoogleSqlDatabaseInstances#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/sql_database_instances#id DataGoogleSqlDatabaseInstances#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public DataGoogleSqlDatabaseInstances.Builder project(String project)
Project ID of the project that contains the instances.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#project DataGoogleSqlDatabaseInstances#project}
- Parameters:
project- Project ID of the project that contains the instances. This parameter is required.- Returns:
this
-
region
@Stability(Stable) public DataGoogleSqlDatabaseInstances.Builder region(String region)
To filter out the database instances which are located in this specified region.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#region DataGoogleSqlDatabaseInstances#region}
- Parameters:
region- To filter out the database instances which are located in this specified region. This parameter is required.- Returns:
this
-
state
@Stability(Stable) public DataGoogleSqlDatabaseInstances.Builder state(String state)
To filter out the database instances based on the current state of the database instance, valid values include : "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", "SUSPENDED", "PENDING_DELETE", "PENDING_CREATE", "MAINTENANCE" and "FAILED".Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#state DataGoogleSqlDatabaseInstances#state}
- Parameters:
state- To filter out the database instances based on the current state of the database instance, valid values include : "SQL_INSTANCE_STATE_UNSPECIFIED", "RUNNABLE", "SUSPENDED", "PENDING_DELETE", "PENDING_CREATE", "MAINTENANCE" and "FAILED". This parameter is required.- Returns:
this
-
tier
@Stability(Stable) public DataGoogleSqlDatabaseInstances.Builder tier(String tier)
To filter out the database instances based on the machine type.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#tier DataGoogleSqlDatabaseInstances#tier}
- Parameters:
tier- To filter out the database instances based on the machine type. This parameter is required.- Returns:
this
-
zone
@Stability(Stable) public DataGoogleSqlDatabaseInstances.Builder zone(String zone)
To filter out the database instances which are located in this specified zone.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/data-sources/sql_database_instances#zone DataGoogleSqlDatabaseInstances#zone}
- Parameters:
zone- To filter out the database instances which are located in this specified zone. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public DataGoogleSqlDatabaseInstances build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataGoogleSqlDatabaseInstances>- Returns:
- a newly built instance of
DataGoogleSqlDatabaseInstances.
-
-