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 vaultId(String vaultId)
public MysqlConnection.Builder keyId(String keyId)
public MysqlConnection.Builder subnetId(String subnetId)
public MysqlConnection.Builder ingressIps(List<IngressIpDetails> ingressIps)
public MysqlConnection.Builder nsgIds(List<String> nsgIds)
public MysqlConnection.Builder username(String username)
public MysqlConnection.Builder password(String password)
public MysqlConnection.Builder replicationUsername(String replicationUsername)
public MysqlConnection.Builder replicationPassword(String replicationPassword)
public MysqlConnection.Builder secretId(String secretId)
public MysqlConnection.Builder privateEndpointId(String privateEndpointId)
public MysqlConnection.Builder technologyType(MysqlConnection.TechnologyType technologyType)
The type of MySQL source or target connection. Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service
technologyType
- the value to setpublic MysqlConnection.Builder host(String host)
The IP Address of the host.
host
- the value to setpublic MysqlConnection.Builder port(Integer port)
The port to be used for the connection.
port
- the value to setpublic MysqlConnection.Builder databaseName(String databaseName)
The name of the database being referenced.
databaseName
- the value to setpublic MysqlConnection.Builder securityProtocol(MysqlConnection.SecurityProtocol securityProtocol)
Security Protocol to be used for the connection.
securityProtocol
- the value to setpublic MysqlConnection.Builder sslMode(MysqlConnection.SslMode sslMode)
SSL mode to be used for the connection.
sslMode
- the value to setpublic MysqlConnection.Builder additionalAttributes(List<NameValuePair> additionalAttributes)
An array of name-value pair attribute entries.
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.