public static class MySqlDatabaseConnectorSummary.Builder extends Object
Constructor and Description |
---|
Builder() |
public MySqlDatabaseConnectorSummary.Builder name(String name)
External MySQL Database Connector Name
name
- the value to setpublic MySqlDatabaseConnectorSummary.Builder compartmentId(String compartmentId)
OCID of compartment for the External MySQL connector.
compartmentId
- the value to setpublic MySqlDatabaseConnectorSummary.Builder associatedServices(String associatedServices)
OCI Services associated with this connector.
associatedServices
- the value to setpublic MySqlDatabaseConnectorSummary.Builder id(String id)
OCID of MySQL Database Connector.
id
- the value to setpublic MySqlDatabaseConnectorSummary.Builder timeCreated(Date timeCreated)
Connector creation time.
timeCreated
- the value to setpublic MySqlDatabaseConnectorSummary.Builder timeUpdated(Date timeUpdated)
Connector update time.
timeUpdated
- the value to setpublic MySqlDatabaseConnectorSummary.Builder sourceDatabase(String sourceDatabase)
Name of MySQL Database.
sourceDatabase
- the value to setpublic MySqlDatabaseConnectorSummary.Builder sourceDatabaseType(MySqlType sourceDatabaseType)
Type of MySQL Database.
sourceDatabaseType
- the value to setpublic MySqlDatabaseConnectorSummary.Builder connectionStatus(String connectionStatus)
Connection Status.
connectionStatus
- the value to setpublic MySqlDatabaseConnectorSummary.Builder timeConnectionStatusUpdated(Date timeConnectionStatusUpdated)
Time when connection status was last updated.
timeConnectionStatusUpdated
- the value to setpublic MySqlDatabaseConnectorSummary.Builder hostName(String hostName)
Host name for Connector.
hostName
- the value to setpublic MySqlDatabaseConnectorSummary.Builder macsAgentId(String macsAgentId)
Agent Id of the MACS agent.
macsAgentId
- the value to setpublic MySqlDatabaseConnectorSummary.Builder port(Integer port)
Connector port.
port
- the value to setpublic MySqlDatabaseConnectorSummary.Builder connectorType(MySqlConnectorType connectorType)
Connector Type.
connectorType
- the value to setpublic MySqlDatabaseConnectorSummary.Builder networkProtocol(MySqlNetworkProtocolType networkProtocol)
Network Protocol.
networkProtocol
- the value to setpublic MySqlDatabaseConnectorSummary.Builder credentialType(MySqlCredType credentialType)
Credential type used to connect to database.
credentialType
- the value to setpublic MySqlDatabaseConnectorSummary.Builder systemTags(Map<String,Map<String,Object>> systemTags)
System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags. System tags can be viewed by users, but can only be created by the system.
Example: {"orcl-cloud": {"free-tier-retained": "true"}}
systemTags
- the value to setpublic MySqlDatabaseConnectorSummary.Builder lifecycleState(LifecycleStates lifecycleState)
Indicates lifecycle state of the resource.
lifecycleState
- the value to setpublic MySqlDatabaseConnectorSummary build()
public MySqlDatabaseConnectorSummary.Builder copy(MySqlDatabaseConnectorSummary model)
Copyright © 2016–2025. All rights reserved.