Package com.oracle.bmc.opsi.model
Class MdsMySqlDatabaseInsight
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.DatabaseInsight
-
- com.oracle.bmc.opsi.model.MdsMySqlDatabaseInsight
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class MdsMySqlDatabaseInsight extends DatabaseInsight
Database insight resource.
Note: Objects should always be created or deserialized using theMdsMySqlDatabaseInsight.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 theMdsMySqlDatabaseInsight.Builder
, which maintain a set of all explicitly set fields calledMdsMySqlDatabaseInsight.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 Summary
Nested Classes Modifier and Type Class Description static class
MdsMySqlDatabaseInsight.Builder
-
Constructor Summary
Constructors Constructor Description MdsMySqlDatabaseInsight(String id, String compartmentId, ResourceStatus status, String databaseType, String databaseVersion, Integer processorCount, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, String lifecycleDetails, String databaseConnectionStatusDetails, String databaseId, String databaseName, String databaseDisplayName, String databaseResourceType, Boolean isHighlyAvailable, Boolean isHeatWaveClusterAttached, Object dbAdditionalDetails)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MdsMySqlDatabaseInsight.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getDatabaseDisplayName()
Display name of databaseString
getDatabaseId()
The OCID of the database.String
getDatabaseName()
Name of databaseString
getDatabaseResourceType()
OCI database resource typeObject
getDbAdditionalDetails()
Additional details of a db system in JSON format.Boolean
getIsHeatWaveClusterAttached()
Specifies if MYSQL DB System has heatwave cluster attached.Boolean
getIsHighlyAvailable()
Specifies if MYSQL DB System is highly available.int
hashCode()
MdsMySqlDatabaseInsight.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.-
Methods inherited from class com.oracle.bmc.opsi.model.DatabaseInsight
getCompartmentId, getDatabaseConnectionStatusDetails, getDatabaseType, getDatabaseVersion, getDefinedTags, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getProcessorCount, getStatus, getSystemTags, getTimeCreated, getTimeUpdated
-
-
-
-
Constructor Detail
-
MdsMySqlDatabaseInsight
@Deprecated public MdsMySqlDatabaseInsight(String id, String compartmentId, ResourceStatus status, String databaseType, String databaseVersion, Integer processorCount, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags, Date timeCreated, Date timeUpdated, LifecycleState lifecycleState, String lifecycleDetails, String databaseConnectionStatusDetails, String databaseId, String databaseName, String databaseDisplayName, String databaseResourceType, Boolean isHighlyAvailable, Boolean isHeatWaveClusterAttached, Object dbAdditionalDetails)
Deprecated.
-
-
Method Detail
-
builder
public static MdsMySqlDatabaseInsight.Builder builder()
Create a new builder.
-
toBuilder
public MdsMySqlDatabaseInsight.Builder toBuilder()
-
getDatabaseName
public String getDatabaseName()
Name of database- Returns:
- the value
-
getDatabaseDisplayName
public String getDatabaseDisplayName()
Display name of database- Returns:
- the value
-
getDatabaseResourceType
public String getDatabaseResourceType()
OCI database resource type- Returns:
- the value
-
getIsHighlyAvailable
public Boolean getIsHighlyAvailable()
Specifies if MYSQL DB System is highly available.- Returns:
- the value
-
getIsHeatWaveClusterAttached
public Boolean getIsHeatWaveClusterAttached()
Specifies if MYSQL DB System has heatwave cluster attached.- Returns:
- the value
-
getDbAdditionalDetails
public Object getDbAdditionalDetails()
Additional details of a db system in JSON format.For MySQL DB System, this is the DbSystem object serialized as a JSON string as defined in https://docs.oracle.com/en-us/iaas/api/#/en/mysql/20190415/DbSystem/.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classDatabaseInsight
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toString
in classDatabaseInsight
- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classDatabaseInsight
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classDatabaseInsight
-
-