@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class MacsManagedExternalDatabaseInsight extends DatabaseInsight
Database insight resource.
Note: Objects should always be created or deserialized using the MacsManagedExternalDatabaseInsight.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 the MacsManagedExternalDatabaseInsight.Builder
, which maintain a
set of all explicitly set fields called MacsManagedExternalDatabaseInsight.Builder.__explicitlySet__
. The hashCode()
and equals(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
).
Modifier and Type | Class and Description |
---|---|
static class |
MacsManagedExternalDatabaseInsight.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
static MacsManagedExternalDatabaseInsight.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
CredentialDetails |
getConnectionCredentialDetails() |
ConnectionDetails |
getConnectionDetails() |
String |
getConnectorId()
The OCID of
External Database Connector
|
String |
getDatabaseDisplayName()
Display name of database
|
String |
getDatabaseId()
The OCID of
the database.
|
String |
getDatabaseName()
Name of database
|
String |
getDatabaseResourceType()
OCI database resource type
|
Object |
getDbAdditionalDetails()
Additional details of a database in JSON format.
|
String |
getManagementAgentId()
The OCID of
the Management Agent
|
int |
hashCode() |
MacsManagedExternalDatabaseInsight.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
getCompartmentId, getDatabaseConnectionStatusDetails, getDatabaseType, getDatabaseVersion, getDefinedTags, getFreeformTags, getId, getLifecycleDetails, getLifecycleState, getProcessorCount, getStatus, getSystemTags, getTimeCreated, getTimeUpdated
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@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)
public static MacsManagedExternalDatabaseInsight.Builder builder()
Create a new builder.
public MacsManagedExternalDatabaseInsight.Builder toBuilder()
public String getManagementAgentId()
The OCID of the Management Agent
public String getConnectorId()
The OCID of External Database Connector
public ConnectionDetails getConnectionDetails()
public CredentialDetails getConnectionCredentialDetails()
public String getDatabaseName()
Name of database
public String getDatabaseDisplayName()
Display name of database
public String getDatabaseResourceType()
OCI database resource type
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.cloud.oracle.com/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.
public String toString()
toString
in class DatabaseInsight
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
toString
in class DatabaseInsight
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class DatabaseInsight
public int hashCode()
hashCode
in class DatabaseInsight
Copyright © 2016–2024. All rights reserved.