Class MysqlConnectionSummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.databasemigration.model.ConnectionSummary
- 
- com.oracle.bmc.databasemigration.model.MysqlConnectionSummary
 
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20230518") public final class MysqlConnectionSummary extends ConnectionSummarySummary of the MySQL Connection.
 Note: Objects should always be created or deserialized using theMysqlConnectionSummary.Builder. This model distinguishes fields that are null because they are unset from fields that are explicitly set to null. This is done in the setter methods of theMysqlConnectionSummary.Builder, which maintain a set of all explicitly set fields calledMysqlConnectionSummary.Builder.__explicitlySet__. ThehashCode()andequals(Object)methods are implemented to take the explicitly set fields into account. The constructor, on the other hand, does not take the explicitly set fields into account (since the constructor cannot distinguish explicit null from unset null).
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classMysqlConnectionSummary.Builder
 - 
Constructor SummaryConstructors Constructor Description MysqlConnectionSummary(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String vaultId, String keyId, String subnetId, List<IngressIpDetails> ingressIps, List<String> nsgIds, MysqlConnection.TechnologyType technologyType, String host, Integer port, String databaseName, MysqlConnection.SecurityProtocol securityProtocol, MysqlConnection.SslMode sslMode, List<NameValuePair> additionalAttributes, String dbSystemId)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MysqlConnectionSummary.Builderbuilder()Create a new builder.booleanequals(Object o)List<NameValuePair>getAdditionalAttributes()An array of name-value pair attribute entries.StringgetDatabaseName()The name of the database being referenced.StringgetDbSystemId()The OCID of the database system being referenced.StringgetHost()The IP Address of the host.IntegergetPort()The port to be used for the connection.MysqlConnection.SecurityProtocolgetSecurityProtocol()Security Type for MySQL.MysqlConnection.SslModegetSslMode()SSL modes for MySQL.MysqlConnection.TechnologyTypegetTechnologyType()The type of MySQL source or target connection.inthashCode()MysqlConnectionSummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.- 
Methods inherited from class com.oracle.bmc.databasemigration.model.ConnectionSummarygetCompartmentId, getDefinedTags, getDescription, getDisplayName, getFreeformTags, getId, getIngressIps, getKeyId, getLifecycleDetails, getLifecycleState, getNsgIds, getSubnetId, getSystemTags, getTimeCreated, getTimeUpdated, getVaultId
 
- 
 
- 
- 
- 
Constructor Detail- 
MysqlConnectionSummary@Deprecated public MysqlConnectionSummary(String id, String displayName, String description, String compartmentId, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Connection.LifecycleState lifecycleState, String lifecycleDetails, Date timeCreated, Date timeUpdated, String vaultId, String keyId, String subnetId, List<IngressIpDetails> ingressIps, List<String> nsgIds, MysqlConnection.TechnologyType technologyType, String host, Integer port, String databaseName, MysqlConnection.SecurityProtocol securityProtocol, MysqlConnection.SslMode sslMode, List<NameValuePair> additionalAttributes, String dbSystemId) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static MysqlConnectionSummary.Builder builder() Create a new builder.
 - 
toBuilderpublic MysqlConnectionSummary.Builder toBuilder() 
 - 
getTechnologyTypepublic MysqlConnection.TechnologyType getTechnologyType() The type of MySQL source or target connection.Example: OCI_MYSQL represents OCI MySQL HeatWave Database Service - Returns:
- the value
 
 - 
getHostpublic String getHost() The IP Address of the host.- Returns:
- the value
 
 - 
getPortpublic Integer getPort() The port to be used for the connection.- Returns:
- the value
 
 - 
getDatabaseNamepublic String getDatabaseName() The name of the database being referenced.- Returns:
- the value
 
 - 
getSecurityProtocolpublic MysqlConnection.SecurityProtocol getSecurityProtocol() Security Type for MySQL.- Returns:
- the value
 
 - 
getSslModepublic MysqlConnection.SslMode getSslMode() SSL modes for MySQL.- Returns:
- the value
 
 - 
getAdditionalAttributespublic List<NameValuePair> getAdditionalAttributes() An array of name-value pair attribute entries.- Returns:
- the value
 
 - 
getDbSystemIdpublic String getDbSystemId() The OCID of the database system being referenced.- Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- ConnectionSummary
 
 - 
toStringpublic String toString(boolean includeByteArrayContents) Return a string representation of the object.- Overrides:
- toStringin class- ConnectionSummary
- Parameters:
- includeByteArrayContents- true to include the full contents of byte arrays
- Returns:
- string representation
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- ConnectionSummary
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- ConnectionSummary
 
 
- 
 
-