public static class CreateMySqlDatabaseConnectorDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public CreateMySqlDatabaseConnectorDetails.Builder displayName(String displayName)
External MySQL Database Connector Name.
displayName
- the value to setpublic CreateMySqlDatabaseConnectorDetails.Builder macsAgentId(String macsAgentId)
Agent Id of the MACS agent.
macsAgentId
- the value to setpublic CreateMySqlDatabaseConnectorDetails.Builder hostName(String hostName)
Host name for Connector.
hostName
- the value to setpublic CreateMySqlDatabaseConnectorDetails.Builder port(Integer port)
Port number to connect to External MySQL Database.
port
- the value to setpublic CreateMySqlDatabaseConnectorDetails.Builder networkProtocol(MySqlNetworkProtocolType networkProtocol)
Protocol to be used to connect to External MySQL Database; TCP, TCP with SSL or Socket.
networkProtocol
- the value to setpublic CreateMySqlDatabaseConnectorDetails.Builder externalDatabaseId(String externalDatabaseId)
OCID of MySQL Database resource.
externalDatabaseId
- the value to setpublic CreateMySqlDatabaseConnectorDetails.Builder credentialType(MySqlCredType credentialType)
Type of the credential.
credentialType
- the value to setpublic CreateMySqlDatabaseConnectorDetails.Builder sslSecretId(String sslSecretId)
If using existing SSL secret to connect, OCID for the secret resource.
sslSecretId
- the value to setpublic CreateMySqlDatabaseConnectorDetails build()
public CreateMySqlDatabaseConnectorDetails.Builder copy(CreateMySqlDatabaseConnectorDetails model)
Copyright © 2016–2025. All rights reserved.