Class SqlSslCert.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.sql_ssl_cert.SqlSslCert.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<SqlSslCert>
- Enclosing class:
- SqlSslCert
@Stability(Stable) public static final class SqlSslCert.Builder extends Object implements software.amazon.jsii.Builder<SqlSslCert>
A fluent builder forSqlSslCert.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SqlSslCertbuild()SqlSslCert.BuildercommonName(String commonName)The common name to be used in the certificate to identify the client.SqlSslCert.Builderconnection(com.hashicorp.cdktf.SSHProvisionerConnection connection)SqlSslCert.Builderconnection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)SqlSslCert.Buildercount(com.hashicorp.cdktf.TerraformCount count)SqlSslCert.Buildercount(Number count)static SqlSslCert.Buildercreate(software.constructs.Construct scope, String id)SqlSslCert.BuilderdependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)SqlSslCert.BuilderforEach(com.hashicorp.cdktf.ITerraformIterator forEach)SqlSslCert.Builderid(String id)Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_ssl_cert#id SqlSslCert#id}.SqlSslCert.Builderinstance(String instance)The name of the Cloud SQL instance.SqlSslCert.Builderlifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)SqlSslCert.Builderproject(String project)The ID of the project in which the resource belongs.SqlSslCert.Builderprovider(com.hashicorp.cdktf.TerraformProvider provider)SqlSslCert.Builderprovisioners(List<? extends Object> provisioners)SqlSslCert.Buildertimeouts(SqlSslCertTimeouts timeouts)timeouts block.
-
-
-
Method Detail
-
create
@Stability(Stable) public static SqlSslCert.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
SqlSslCert.Builder.
-
connection
@Stability(Experimental) public SqlSslCert.Builder connection(com.hashicorp.cdktf.SSHProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
connection
@Stability(Experimental) public SqlSslCert.Builder connection(com.hashicorp.cdktf.WinrmProvisionerConnection connection)
- Parameters:
connection- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SqlSslCert.Builder count(Number count)
- Parameters:
count- This parameter is required.- Returns:
this
-
count
@Stability(Experimental) public SqlSslCert.Builder count(com.hashicorp.cdktf.TerraformCount count)
- Parameters:
count- This parameter is required.- Returns:
this
-
dependsOn
@Stability(Experimental) public SqlSslCert.Builder dependsOn(List<? extends com.hashicorp.cdktf.ITerraformDependable> dependsOn)
- Parameters:
dependsOn- This parameter is required.- Returns:
this
-
forEach
@Stability(Experimental) public SqlSslCert.Builder forEach(com.hashicorp.cdktf.ITerraformIterator forEach)
- Parameters:
forEach- This parameter is required.- Returns:
this
-
lifecycle
@Stability(Experimental) public SqlSslCert.Builder lifecycle(com.hashicorp.cdktf.TerraformResourceLifecycle lifecycle)
- Parameters:
lifecycle- This parameter is required.- Returns:
this
-
provider
@Stability(Experimental) public SqlSslCert.Builder provider(com.hashicorp.cdktf.TerraformProvider provider)
- Parameters:
provider- This parameter is required.- Returns:
this
-
provisioners
@Stability(Experimental) public SqlSslCert.Builder provisioners(List<? extends Object> provisioners)
- Parameters:
provisioners- This parameter is required.- Returns:
this
-
commonName
@Stability(Stable) public SqlSslCert.Builder commonName(String commonName)
The common name to be used in the certificate to identify the client.Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_ssl_cert#common_name SqlSslCert#common_name}
- Parameters:
commonName- The common name to be used in the certificate to identify the client. This parameter is required.- Returns:
this
-
instance
@Stability(Stable) public SqlSslCert.Builder instance(String instance)
The name of the Cloud SQL instance. Changing this forces a new resource to be created.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_ssl_cert#instance SqlSslCert#instance}
- Parameters:
instance- The name of the Cloud SQL instance. Changing this forces a new resource to be created. This parameter is required.- Returns:
this
-
id
@Stability(Stable) public SqlSslCert.Builder id(String id)
Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_ssl_cert#id SqlSslCert#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/sql_ssl_cert#id SqlSslCert#id}. This parameter is required.- Returns:
this
-
project
@Stability(Stable) public SqlSslCert.Builder project(String project)
The ID of the project in which the resource belongs.If it is not provided, the provider project is used. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_ssl_cert#project SqlSslCert#project}
- Parameters:
project- The ID of the project in which the resource belongs. This parameter is required.- Returns:
this
-
timeouts
@Stability(Stable) public SqlSslCert.Builder timeouts(SqlSslCertTimeouts timeouts)
timeouts block.Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/sql_ssl_cert#timeouts SqlSslCert#timeouts}
- Parameters:
timeouts- timeouts block. This parameter is required.- Returns:
this
-
build
@Stability(Stable) public SqlSslCert build()
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SqlSslCert>- Returns:
- a newly built instance of
SqlSslCert.
-
-