public static class CreatePostgresqlConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreatePostgresqlConnectionDetails.Builder displayName(String displayName)
public CreatePostgresqlConnectionDetails.Builder description(String description)
public CreatePostgresqlConnectionDetails.Builder compartmentId(String compartmentId)
public CreatePostgresqlConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreatePostgresqlConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreatePostgresqlConnectionDetails.Builder locks(List<AddResourceLockDetails> locks)
public CreatePostgresqlConnectionDetails.Builder vaultId(String vaultId)
public CreatePostgresqlConnectionDetails.Builder keyId(String keyId)
public CreatePostgresqlConnectionDetails.Builder nsgIds(List<String> nsgIds)
public CreatePostgresqlConnectionDetails.Builder subnetId(String subnetId)
public CreatePostgresqlConnectionDetails.Builder routingMethod(RoutingMethod routingMethod)
public CreatePostgresqlConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds)
public CreatePostgresqlConnectionDetails.Builder technologyType(PostgresqlConnection.TechnologyType technologyType)
The PostgreSQL technology type.
technologyType
- the value to setpublic CreatePostgresqlConnectionDetails.Builder databaseName(String databaseName)
The name of the database.
databaseName
- the value to setpublic CreatePostgresqlConnectionDetails.Builder host(String host)
The name or address of a host.
host
- the value to setpublic CreatePostgresqlConnectionDetails.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic CreatePostgresqlConnectionDetails.Builder username(String username)
The username Oracle GoldenGate uses to connect the associated system of the given technology. This username must already exist and be available by the system/application to be connected to and must conform to the case sensitivty requirments defined in it.
username
- the value to setpublic CreatePostgresqlConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on.
password
- the value to setpublic CreatePostgresqlConnectionDetails.Builder passwordSecretId(String passwordSecretId)
The OCID of the Secret where the password is stored. The password Oracle GoldenGate uses to connect the associated system of the given technology. It must conform to the specific security requirements including length, case sensitivity, and so on. If secretId is used plaintext field must not be provided. Note: When provided, ‘password’ field must not be provided.
passwordSecretId
- the value to setpublic CreatePostgresqlConnectionDetails.Builder additionalAttributes(List<NameValuePair> additionalAttributes)
An array of name-value pair attribute entries. Used as additional parameters in connection string.
additionalAttributes
- the value to setpublic CreatePostgresqlConnectionDetails.Builder securityProtocol(PostgresqlConnection.SecurityProtocol securityProtocol)
Security protocol for PostgreSQL.
securityProtocol
- the value to setpublic CreatePostgresqlConnectionDetails.Builder sslMode(PostgresqlConnection.SslMode sslMode)
SSL modes for PostgreSQL.
sslMode
- the value to setpublic CreatePostgresqlConnectionDetails.Builder sslCa(String sslCa)
The base64 encoded certificate of the trusted certificate authorities (Trusted CA) for PostgreSQL. The supported file formats are .pem and .crt.
sslCa
- the value to setpublic CreatePostgresqlConnectionDetails.Builder sslCrl(String sslCrl)
The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).
sslCrl
- the value to setpublic CreatePostgresqlConnectionDetails.Builder sslCert(String sslCert)
The base64 encoded certificate of the PostgreSQL server. The supported file formats are .pem and .crt.
sslCert
- the value to setpublic CreatePostgresqlConnectionDetails.Builder sslKey(String sslKey)
The base64 encoded private key of the PostgreSQL server. The supported file formats are .pem and .crt.
sslKey
- the value to setpublic CreatePostgresqlConnectionDetails.Builder sslKeySecretId(String sslKeySecretId)
The OCID of the Secret that stores the private key of the PostgreSQL server. The supported file formats are .pem and .crt. Note: When provided, ‘sslKey’ field must not be provided.
sslKeySecretId
- the value to setpublic CreatePostgresqlConnectionDetails.Builder privateIp(String privateIp)
Deprecated: this field will be removed in future versions. Either specify the private IP in the connectionString or host field, or make sure the host name is resolvable in the target VCN.
The private IP address of the connection's endpoint in the customer's VCN, typically a database endpoint or a big data endpoint (e.g. Kafka bootstrap server). In case the privateIp is provided, the subnetId must also be provided. In case the privateIp (and the subnetId) is not provided it is assumed the datasource is publicly accessible. In case the connection is accessible only privately, the lack of privateIp will result in not being able to access the connection.
privateIp
- the value to setpublic CreatePostgresqlConnectionDetails.Builder dbSystemId(String dbSystemId)
The OCID of the database system being referenced.
dbSystemId
- the value to setpublic CreatePostgresqlConnectionDetails build()
public CreatePostgresqlConnectionDetails.Builder copy(CreatePostgresqlConnectionDetails model)
Copyright © 2016–2024. All rights reserved.