public static class ConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ConnectionDetails |
build() |
ConnectionDetails.Builder |
caCertificate(String caCertificate)
The CA certificate to be used by the PosgreSQL client to connect to the database.
|
ConnectionDetails.Builder |
copy(ConnectionDetails model) |
ConnectionDetails.Builder |
instanceEndpoints(List<DbInstanceEndpoint> instanceEndpoints)
The list of database instance node endpoints in the database system.
|
ConnectionDetails.Builder |
primaryDbEndpoint(Endpoint primaryDbEndpoint) |
ConnectionDetails.Builder |
readerEndpoint(Endpoint readerEndpoint) |
public ConnectionDetails.Builder caCertificate(String caCertificate)
The CA certificate to be used by the PosgreSQL client to connect to the database. The CA certificate is used to authenticate the server identity. It is issued by PostgreSQL Service Private CA.
caCertificate
- the value to setpublic ConnectionDetails.Builder primaryDbEndpoint(Endpoint primaryDbEndpoint)
public ConnectionDetails.Builder instanceEndpoints(List<DbInstanceEndpoint> instanceEndpoints)
The list of database instance node endpoints in the database system.
instanceEndpoints
- the value to setpublic ConnectionDetails.Builder readerEndpoint(Endpoint readerEndpoint)
public ConnectionDetails build()
public ConnectionDetails.Builder copy(ConnectionDetails model)
Copyright © 2016–2024. All rights reserved.