public static class UpdateMysqlConnectionDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public UpdateMysqlConnectionDetails.Builder displayName(String displayName)
public UpdateMysqlConnectionDetails.Builder description(String description)
public UpdateMysqlConnectionDetails.Builder freeformTags(Map<String,String> freeformTags)
public UpdateMysqlConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags)
public UpdateMysqlConnectionDetails.Builder vaultId(String vaultId)
public UpdateMysqlConnectionDetails.Builder keyId(String keyId)
public UpdateMysqlConnectionDetails.Builder subnetId(String subnetId)
public UpdateMysqlConnectionDetails.Builder nsgIds(List<String> nsgIds)
public UpdateMysqlConnectionDetails.Builder username(String username)
public UpdateMysqlConnectionDetails.Builder password(String password)
public UpdateMysqlConnectionDetails.Builder replicationUsername(String replicationUsername)
public UpdateMysqlConnectionDetails.Builder replicationPassword(String replicationPassword)
public UpdateMysqlConnectionDetails.Builder host(String host)
The IP Address of the host.
host
- the value to setpublic UpdateMysqlConnectionDetails.Builder port(Integer port)
The port to be used for the connection.
port
- the value to setpublic UpdateMysqlConnectionDetails.Builder databaseName(String databaseName)
The name of the database being referenced.
databaseName
- the value to setpublic UpdateMysqlConnectionDetails.Builder securityProtocol(MysqlConnection.SecurityProtocol securityProtocol)
Security Type for MySQL.
securityProtocol
- the value to setpublic UpdateMysqlConnectionDetails.Builder sslMode(MysqlConnection.SslMode sslMode)
SSL modes for MySQL.
sslMode
- the value to setpublic UpdateMysqlConnectionDetails.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 UpdateMysqlConnectionDetails.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 UpdateMysqlConnectionDetails.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 UpdateMysqlConnectionDetails.Builder sslKey(String sslKey)
Client Key - The client-key.pem containing the client private key (for 2-way SSL).
sslKey
- the value to setpublic UpdateMysqlConnectionDetails.Builder additionalAttributes(List<NameValuePair> additionalAttributes)
An array of name-value pair attribute entries.
additionalAttributes
- the value to setpublic UpdateMysqlConnectionDetails.Builder dbSystemId(String dbSystemId)
The OCID of the database system being referenced.
dbSystemId
- the value to setpublic UpdateMysqlConnectionDetails build()
public UpdateMysqlConnectionDetails.Builder copy(UpdateMysqlConnectionDetails model)
Copyright © 2016–2024. All rights reserved.