public static class ExternalMySqlDatabaseConnector.Builder extends Object
Constructor and Description |
---|
Builder() |
public ExternalMySqlDatabaseConnector.Builder name(String name)
External MySQL Database Connector Name.
name
- the value to setpublic ExternalMySqlDatabaseConnector.Builder compartmentId(String compartmentId)
OCID of compartment for the External MySQL connector.
compartmentId
- the value to setpublic ExternalMySqlDatabaseConnector.Builder associatedServices(String associatedServices)
OCI Services associated with this connector.
associatedServices
- the value to setpublic ExternalMySqlDatabaseConnector.Builder externalDatabaseId(String externalDatabaseId)
OCID of MySQL Database resource
externalDatabaseId
- the value to setpublic ExternalMySqlDatabaseConnector.Builder id(String id)
OCID of MySQL Database Connector.
id
- the value to setpublic ExternalMySqlDatabaseConnector.Builder timeUpdated(Date timeUpdated)
Connector update time.
timeUpdated
- the value to setpublic ExternalMySqlDatabaseConnector.Builder timeCreated(Date timeCreated)
Connector creation time.
timeCreated
- the value to setpublic ExternalMySqlDatabaseConnector.Builder lifecycleState(LifecycleStates lifecycleState)
Indicates lifecycle state of the resource.
lifecycleState
- the value to setpublic ExternalMySqlDatabaseConnector.Builder sourceDatabase(String sourceDatabase)
Name of MySQL Database.
sourceDatabase
- the value to setpublic ExternalMySqlDatabaseConnector.Builder sourceDatabaseType(MySqlType sourceDatabaseType)
Type of MySQL Database.
sourceDatabaseType
- the value to setpublic ExternalMySqlDatabaseConnector.Builder macsAgentId(String macsAgentId)
Agent Id of the MACS agent.
macsAgentId
- the value to setpublic ExternalMySqlDatabaseConnector.Builder connectionStatus(String connectionStatus)
Connection Status
connectionStatus
- the value to setpublic ExternalMySqlDatabaseConnector.Builder timeConnectionStatusUpdated(Date timeConnectionStatusUpdated)
Time when connection status was last updated.
timeConnectionStatusUpdated
- the value to setpublic ExternalMySqlDatabaseConnector.Builder hostName(String hostName)
Host name for Connector.
hostName
- the value to setpublic ExternalMySqlDatabaseConnector.Builder port(Integer port)
Connector port.
port
- the value to setpublic ExternalMySqlDatabaseConnector.Builder connectorType(MySqlConnectorType connectorType)
Connector Type.
connectorType
- the value to setpublic ExternalMySqlDatabaseConnector.Builder networkProtocol(MySqlNetworkProtocolType networkProtocol)
Network Protocol.
networkProtocol
- the value to setpublic ExternalMySqlDatabaseConnector.Builder credentialType(MySqlCredType credentialType)
Credential type used to connect to database.
credentialType
- the value to setpublic ExternalMySqlDatabaseConnector.Builder sslSecretId(String sslSecretId)
OCID of the SSL secret, if TCPS with SSL is used to connect to database.
sslSecretId
- the value to setpublic ExternalMySqlDatabaseConnector.Builder sslSecretName(String sslSecretName)
Name of the SSL secret, if TCPS with SSL is used to connect to database.
sslSecretName
- the value to setpublic ExternalMySqlDatabaseConnector build()
public ExternalMySqlDatabaseConnector.Builder copy(ExternalMySqlDatabaseConnector model)
Copyright © 2016–2025. All rights reserved.