Class UpdateMysqlConnectionDetails.Builder
- java.lang.Object
- 
- com.oracle.bmc.goldengate.model.UpdateMysqlConnectionDetails.Builder
 
- 
- Enclosing class:
- UpdateMysqlConnectionDetails
 
 public static class UpdateMysqlConnectionDetails.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description UpdateMysqlConnectionDetails.BuilderadditionalAttributes(List<NameValuePair> additionalAttributes)An array of name-value pair attribute entries.UpdateMysqlConnectionDetailsbuild()UpdateMysqlConnectionDetails.Buildercopy(UpdateMysqlConnectionDetails model)UpdateMysqlConnectionDetails.BuilderdatabaseName(String databaseName)The name of the database.UpdateMysqlConnectionDetails.BuilderdbSystemId(String dbSystemId)The OCID of the database system being referenced.UpdateMysqlConnectionDetails.BuilderdefinedTags(Map<String,Map<String,Object>> definedTags)UpdateMysqlConnectionDetails.Builderdescription(String description)UpdateMysqlConnectionDetails.BuilderdisplayName(String displayName)UpdateMysqlConnectionDetails.BuilderdoesUseSecretIds(Boolean doesUseSecretIds)UpdateMysqlConnectionDetails.BuilderfreeformTags(Map<String,String> freeformTags)UpdateMysqlConnectionDetails.Builderhost(String host)The name or address of a host.UpdateMysqlConnectionDetails.BuilderkeyId(String keyId)UpdateMysqlConnectionDetails.BuildernsgIds(List<String> nsgIds)UpdateMysqlConnectionDetails.Builderpassword(String password)The password Oracle GoldenGate uses to connect the associated system of the given technology.UpdateMysqlConnectionDetails.BuilderpasswordSecretId(String passwordSecretId)The OCID of the Secret where the password is stored.UpdateMysqlConnectionDetails.Builderport(Integer port)The port of an endpoint usually specified for a connection.UpdateMysqlConnectionDetails.BuilderprivateIp(String privateIp)Deprecated: this field will be removed in future versions.UpdateMysqlConnectionDetails.BuilderroutingMethod(RoutingMethod routingMethod)UpdateMysqlConnectionDetails.BuildersecurityAttributes(Map<String,Map<String,Object>> securityAttributes)UpdateMysqlConnectionDetails.BuildersecurityProtocol(MysqlConnection.SecurityProtocol securityProtocol)Security Type for MySQL.UpdateMysqlConnectionDetails.BuildersslCa(String sslCa)Database Certificate - The base64 encoded content of a .pem or .crt file containing the server public key (for 1 and 2-way SSL).UpdateMysqlConnectionDetails.BuildersslCert(String sslCert)Client Certificate - The base64 encoded content of a .pem or .crt file containing the client public key (for 2-way SSL).UpdateMysqlConnectionDetails.BuildersslCrl(String sslCrl)The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).UpdateMysqlConnectionDetails.BuildersslKey(String sslKey)Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).UpdateMysqlConnectionDetails.BuildersslKeySecretId(String sslKeySecretId)The OCID of the Secret that stores the Client Key - The content of a .pem or .crt file containing the client private key (for 2-way SSL).UpdateMysqlConnectionDetails.BuildersslMode(MysqlConnection.SslMode sslMode)SSL modes for MySQL.UpdateMysqlConnectionDetails.BuildersubnetId(String subnetId)UpdateMysqlConnectionDetails.Builderusername(String username)The username Oracle GoldenGate uses to connect the associated system of the given technology.UpdateMysqlConnectionDetails.BuildervaultId(String vaultId)
 
- 
- 
- 
Method Detail- 
displayNamepublic UpdateMysqlConnectionDetails.Builder displayName(String displayName) 
 - 
descriptionpublic UpdateMysqlConnectionDetails.Builder description(String description) 
 - 
freeformTagspublic UpdateMysqlConnectionDetails.Builder freeformTags(Map<String,String> freeformTags) 
 - 
definedTagspublic UpdateMysqlConnectionDetails.Builder definedTags(Map<String,Map<String,Object>> definedTags) 
 - 
vaultIdpublic UpdateMysqlConnectionDetails.Builder vaultId(String vaultId) 
 - 
keyIdpublic UpdateMysqlConnectionDetails.Builder keyId(String keyId) 
 - 
nsgIdspublic UpdateMysqlConnectionDetails.Builder nsgIds(List<String> nsgIds) 
 - 
subnetIdpublic UpdateMysqlConnectionDetails.Builder subnetId(String subnetId) 
 - 
routingMethodpublic UpdateMysqlConnectionDetails.Builder routingMethod(RoutingMethod routingMethod) 
 - 
doesUseSecretIdspublic UpdateMysqlConnectionDetails.Builder doesUseSecretIds(Boolean doesUseSecretIds) 
 - 
securityAttributespublic UpdateMysqlConnectionDetails.Builder securityAttributes(Map<String,Map<String,Object>> securityAttributes) 
 - 
usernamepublic UpdateMysqlConnectionDetails.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. - Parameters:
- username- the value to set
- Returns:
- this builder
 
 - 
passwordpublic UpdateMysqlConnectionDetails.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. Deprecated: This field is deprecated and replaced by “passwordSecretId”. This field will be removed after February 15 2026. - Parameters:
- password- the value to set
- Returns:
- this builder
 
 - 
passwordSecretIdpublic UpdateMysqlConnectionDetails.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. - Parameters:
- passwordSecretId- the value to set
- Returns:
- this builder
 
 - 
hostpublic UpdateMysqlConnectionDetails.Builder host(String host) The name or address of a host.- Parameters:
- host- the value to set
- Returns:
- this builder
 
 - 
portpublic UpdateMysqlConnectionDetails.Builder port(Integer port) The port of an endpoint usually specified for a connection.- Parameters:
- port- the value to set
- Returns:
- this builder
 
 - 
databaseNamepublic UpdateMysqlConnectionDetails.Builder databaseName(String databaseName) The name of the database.- Parameters:
- databaseName- the value to set
- Returns:
- this builder
 
 - 
securityProtocolpublic UpdateMysqlConnectionDetails.Builder securityProtocol(MysqlConnection.SecurityProtocol securityProtocol) Security Type for MySQL.- Parameters:
- securityProtocol- the value to set
- Returns:
- this builder
 
 - 
sslModepublic UpdateMysqlConnectionDetails.Builder sslMode(MysqlConnection.SslMode sslMode) SSL modes for MySQL.- Parameters:
- sslMode- the value to set
- Returns:
- this builder
 
 - 
sslCapublic UpdateMysqlConnectionDetails.Builder sslCa(String sslCa) Database Certificate - The base64 encoded content of a .pem or .crt file containing the server public key (for 1 and 2-way SSL).It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- sslCa- the value to set
- Returns:
- this builder
 
 - 
sslCrlpublic UpdateMysqlConnectionDetails.Builder sslCrl(String sslCrl) The base64 encoded list of certificates revoked by the trusted certificate authorities (Trusted CA).Note: This is an optional property and only applicable if TLS/MTLS option is selected. It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- sslCrl- the value to set
- Returns:
- this builder
 
 - 
sslCertpublic UpdateMysqlConnectionDetails.Builder sslCert(String sslCert) Client Certificate - The base64 encoded content of a .pem or .crt file containing the client public key (for 2-way SSL).It is not included in GET responses if the view=COMPACT query parameter is specified. - Parameters:
- sslCert- the value to set
- Returns:
- this builder
 
 - 
sslKeypublic UpdateMysqlConnectionDetails.Builder sslKey(String sslKey) Client Key - The base64 encoded content of a .pem or .crt file containing the client private key (for 2-way SSL).Deprecated: This field is deprecated and replaced by “sslKeySecretId”. This field will be removed after February 15 2026. - Parameters:
- sslKey- the value to set
- Returns:
- this builder
 
 - 
sslKeySecretIdpublic UpdateMysqlConnectionDetails.Builder sslKeySecretId(String sslKeySecretId) The OCID of the Secret that stores the Client Key - The content of a .pem or .crt file containing the client private key (for 2-way SSL).Note: When provided, ‘sslKey’ field must not be provided. - Parameters:
- sslKeySecretId- the value to set
- Returns:
- this builder
 
 - 
privateIppublic UpdateMysqlConnectionDetails.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. - Parameters:
- privateIp- the value to set
- Returns:
- this builder
 
 - 
additionalAttributespublic UpdateMysqlConnectionDetails.Builder additionalAttributes(List<NameValuePair> additionalAttributes) An array of name-value pair attribute entries.Used as additional parameters in connection string. - Parameters:
- additionalAttributes- the value to set
- Returns:
- this builder
 
 - 
dbSystemIdpublic UpdateMysqlConnectionDetails.Builder dbSystemId(String dbSystemId) The OCID of the database system being referenced.- Parameters:
- dbSystemId- the value to set
- Returns:
- this builder
 
 - 
buildpublic UpdateMysqlConnectionDetails build() 
 - 
copypublic UpdateMysqlConnectionDetails.Builder copy(UpdateMysqlConnectionDetails model) 
 
- 
 
-