Package com.oracle.bmc.opsi.model
Class MacsManagedExternalDatabaseInsight
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.opsi.model.DatabaseInsight
-
- com.oracle.bmc.opsi.model.MacsManagedExternalDatabaseInsight
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class MacsManagedExternalDatabaseInsight extends DatabaseInsightDatabase insight resource.
Note: Objects should always be created or deserialized using theMacsManagedExternalDatabaseInsight.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 theMacsManagedExternalDatabaseInsight.Builder, which maintain a set of all explicitly set fields calledMacsManagedExternalDatabaseInsight.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 classMacsManagedExternalDatabaseInsight.Builder
-
Constructor Summary
Constructors Constructor Description MacsManagedExternalDatabaseInsight(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 managementAgentId, String connectorId, ConnectionDetails connectionDetails, CredentialDetails connectionCredentialDetails, String databaseId, String databaseName, String databaseDisplayName, String databaseResourceType, Object dbAdditionalDetails)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MacsManagedExternalDatabaseInsight.Builderbuilder()Create a new builder.booleanequals(Object o)CredentialDetailsgetConnectionCredentialDetails()ConnectionDetailsgetConnectionDetails()StringgetConnectorId()The OCID of External Database ConnectorStringgetDatabaseDisplayName()Display name of databaseStringgetDatabaseId()The OCID of the database.StringgetDatabaseName()Name of databaseStringgetDatabaseResourceType()OCI database resource typeObjectgetDbAdditionalDetails()Additional details of a database in JSON format.StringgetManagementAgentId()The OCID of the Management AgentinthashCode()MacsManagedExternalDatabaseInsight.BuildertoBuilder()StringtoString()StringtoString(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
-
MacsManagedExternalDatabaseInsight
@Deprecated public MacsManagedExternalDatabaseInsight(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 managementAgentId, String connectorId, ConnectionDetails connectionDetails, CredentialDetails connectionCredentialDetails, String databaseId, String databaseName, String databaseDisplayName, String databaseResourceType, Object dbAdditionalDetails)
Deprecated.
-
-
Method Detail
-
builder
public static MacsManagedExternalDatabaseInsight.Builder builder()
Create a new builder.
-
toBuilder
public MacsManagedExternalDatabaseInsight.Builder toBuilder()
-
getManagementAgentId
public String getManagementAgentId()
The OCID of the Management Agent- Returns:
- the value
-
getConnectorId
public String getConnectorId()
The OCID of External Database Connector- Returns:
- the value
-
getConnectionDetails
public ConnectionDetails getConnectionDetails()
-
getConnectionCredentialDetails
public CredentialDetails getConnectionCredentialDetails()
-
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
-
getDbAdditionalDetails
public Object getDbAdditionalDetails()
Additional details of a database in JSON format.For autonomous databases, this is the AutonomousDatabase object serialized as a JSON string as defined in https://docs.oracle.com/iaas/en-us/iaas/api/#/en/database/20160918/AutonomousDatabase/. For EM, pass in null or an empty string. Note that this string needs to be escaped when specified in the curl command.
- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin classDatabaseInsight
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Overrides:
toStringin classDatabaseInsight- Parameters:
includeByteArrayContents- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classDatabaseInsight
-
hashCode
public int hashCode()
- Overrides:
hashCodein classDatabaseInsight
-
-