public static class MysqlConnection.Builder extends Object
Constructor and Description |
---|
Builder() |
public MysqlConnection.Builder id(String id)
public MysqlConnection.Builder displayName(String displayName)
public MysqlConnection.Builder description(String description)
public MysqlConnection.Builder compartmentId(String compartmentId)
public MysqlConnection.Builder freeformTags(Map<String,String> freeformTags)
public MysqlConnection.Builder lifecycleState(Connection.LifecycleState lifecycleState)
public MysqlConnection.Builder lifecycleDetails(String lifecycleDetails)
public MysqlConnection.Builder timeCreated(Date timeCreated)
public MysqlConnection.Builder timeUpdated(Date timeUpdated)
public MysqlConnection.Builder locks(List<ResourceLock> locks)
public MysqlConnection.Builder vaultId(String vaultId)
public MysqlConnection.Builder keyId(String keyId)
public MysqlConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
public MysqlConnection.Builder nsgIds(List<String> nsgIds)
public MysqlConnection.Builder subnetId(String subnetId)
public MysqlConnection.Builder routingMethod(RoutingMethod routingMethod)
public MysqlConnection.Builder technologyType(MysqlConnection.TechnologyType technologyType)
The MySQL technology type.
technologyType
- the value to setpublic MysqlConnection.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 MysqlConnection.Builder host(String host)
The name or address of a host.
host
- the value to setpublic MysqlConnection.Builder port(Integer port)
The port of an endpoint usually specified for a connection.
port
- the value to setpublic MysqlConnection.Builder databaseName(String databaseName)
The name of the database.
databaseName
- the value to setpublic MysqlConnection.Builder securityProtocol(MysqlConnection.SecurityProtocol securityProtocol)
Security Protocol for MySQL.
securityProtocol
- the value to setpublic MysqlConnection.Builder sslMode(MysqlConnection.SslMode sslMode)
SSL modes for MySQL.
sslMode
- the value to setpublic MysqlConnection.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 MysqlConnection.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 MysqlConnection.Builder dbSystemId(String dbSystemId)
The OCID of the database system being referenced.
dbSystemId
- the value to setpublic MysqlConnection build()
public MysqlConnection.Builder copy(MysqlConnection model)
Copyright © 2016–2024. All rights reserved.