public static class CreateMysqlConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateMysqlConnectionDetails.Builder displayName(String displayName)
public CreateMysqlConnectionDetails.Builder description(String description)
public CreateMysqlConnectionDetails.Builder compartmentId(String compartmentId)
public CreateMysqlConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public CreateMysqlConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public CreateMysqlConnectionDetails.Builder vaultId(String vaultId)
public CreateMysqlConnectionDetails.Builder keyId(String keyId)
public CreateMysqlConnectionDetails.Builder subnetId(String subnetId)
public CreateMysqlConnectionDetails.Builder nsgIds(List<String> nsgIds)
public CreateMysqlConnectionDetails.Builder technologyType(MysqlConnection.TechnologyType technologyType)
The MySQL technology type.
technologyType
- the value to setpublic CreateMysqlConnectionDetails.Builder username(String username)
The username Oracle GoldenGate uses to connect the associated RDBMS. This username must already exist and be available for use by the database. It must conform to the security requirements implemented by the database including length, case sensitivity, and so on.
username
- the value to setpublic CreateMysqlConnectionDetails.Builder password(String password)
The password Oracle GoldenGate uses to connect the associated RDBMS. It must conform to the specific security requirements implemented by the database including length, case sensitivity, and so on.
password
- the value to setpublic CreateMysqlConnectionDetails.Builder host(String host)
The name or address of a host.
host
- the value to setpublic CreateMysqlConnectionDetails.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic CreateMysqlConnectionDetails.Builder databaseName(String databaseName)
The name of the database.
databaseName
- the value to setpublic CreateMysqlConnectionDetails.Builder securityProtocol(MysqlConnection.SecurityProtocol securityProtocol)
Security Type for MySQL.
securityProtocol
- the value to setpublic CreateMysqlConnectionDetails.Builder sslMode(MysqlConnection.SslMode sslMode)
SSL modes for MySQL.
sslMode
- the value to setpublic CreateMysqlConnectionDetails.Builder sslCa(String sslCa)
Database Certificate - The base64 encoded content of mysql.pem file containing the server public key (for 1 and 2-way SSL).
sslCa
- the value to setpublic CreateMysqlConnectionDetails.Builder sslCrl(String sslCrl)
Certificates revoked by certificate authorities (CA). Server certificate must not be on this list (for 1 and 2-way SSL). Note: This is an optional and that too only applicable if TLS/MTLS option is selected.
sslCrl
- the value to setpublic CreateMysqlConnectionDetails.Builder sslCert(String sslCert)
Client Certificate - The base64 encoded content of client-cert.pem file containing the client public key (for 2-way SSL).
sslCert
- the value to setpublic CreateMysqlConnectionDetails.Builder sslKey(String sslKey)
Client Key - The client-key.pem containing the client private key (for 2-way SSL).
sslKey
- the value to setpublic CreateMysqlConnectionDetails.Builder privateIp(String privateIp)
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 CreateMysqlConnectionDetails.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 CreateMysqlConnectionDetails.Builder dbSystemId(String dbSystemId)
The OCID of the database system being referenced.
dbSystemId
- the value to setpublic CreateMysqlConnectionDetails build()
public CreateMysqlConnectionDetails.Builder copy(CreateMysqlConnectionDetails model)
Copyright © 2016–2023. All rights reserved.