Class DatabaseMigrationServiceConnectionProfilePostgresqlSsl.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.database_migration_service_connection_profile.DatabaseMigrationServiceConnectionProfilePostgresqlSsl.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DatabaseMigrationServiceConnectionProfilePostgresqlSsl>
- Enclosing interface:
- DatabaseMigrationServiceConnectionProfilePostgresqlSsl
@Stability(Stable) public static final class DatabaseMigrationServiceConnectionProfilePostgresqlSsl.Builder extends Object implements software.amazon.jsii.Builder<DatabaseMigrationServiceConnectionProfilePostgresqlSsl>
A builder forDatabaseMigrationServiceConnectionProfilePostgresqlSsl
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatabaseMigrationServiceConnectionProfilePostgresqlSslbuild()Builds the configured instance.DatabaseMigrationServiceConnectionProfilePostgresqlSsl.BuildercaCertificate(String caCertificate)DatabaseMigrationServiceConnectionProfilePostgresqlSsl.BuilderclientCertificate(String clientCertificate)DatabaseMigrationServiceConnectionProfilePostgresqlSsl.BuilderclientKey(String clientKey)Sets the value ofDatabaseMigrationServiceConnectionProfilePostgresqlSsl.getClientKey()
-
-
-
Method Detail
-
caCertificate
@Stability(Stable) public DatabaseMigrationServiceConnectionProfilePostgresqlSsl.Builder caCertificate(String caCertificate)
- Parameters:
caCertificate- Required. This parameter is required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database server's certificate. The replica will use this certificate to verify it's connecting to the right host. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/database_migration_service_connection_profile#ca_certificate DatabaseMigrationServiceConnectionProfile#ca_certificate}- Returns:
this
-
clientCertificate
@Stability(Stable) public DatabaseMigrationServiceConnectionProfilePostgresqlSsl.Builder clientCertificate(String clientCertificate)
- Parameters:
clientCertificate- Input only. The x509 PEM-encoded certificate that will be used by the replica to authenticate against the source database server. If this field is used then the 'clientKey' field is mandatory Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/database_migration_service_connection_profile#client_certificate DatabaseMigrationServiceConnectionProfile#client_certificate}- Returns:
this
-
clientKey
@Stability(Stable) public DatabaseMigrationServiceConnectionProfilePostgresqlSsl.Builder clientKey(String clientKey)
Sets the value ofDatabaseMigrationServiceConnectionProfilePostgresqlSsl.getClientKey()- Parameters:
clientKey- Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'clientCertificate' field is mandatory. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/database_migration_service_connection_profile#client_key DatabaseMigrationServiceConnectionProfile#client_key}- Returns:
this
-
build
@Stability(Stable) public DatabaseMigrationServiceConnectionProfilePostgresqlSsl build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DatabaseMigrationServiceConnectionProfilePostgresqlSsl>- Returns:
- a new instance of
DatabaseMigrationServiceConnectionProfilePostgresqlSsl - Throws:
NullPointerException- if any required attribute was not provided
-
-