@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class MacsManagedCloudDatabaseInsight extends DatabaseInsight
Database insight resource.
Note: Objects should always be created or deserialized using the MacsManagedCloudDatabaseInsight.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 MacsManagedCloudDatabaseInsight.Builder
, which maintain a
set of all explicitly set fields called MacsManagedCloudDatabaseInsight.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 |
MacsManagedCloudDatabaseInsight.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
MacsManagedCloudDatabaseInsight(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,
ConnectionDetails connectionDetails,
CredentialDetails connectionCredentialDetails,
String databaseId,
String databaseName,
String databaseDisplayName,
String databaseResourceType,
Object dbAdditionalDetails,
String parentId,
String rootId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MacsManagedCloudDatabaseInsight.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
CredentialDetails |
getConnectionCredentialDetails() |
ConnectionDetails |
getConnectionDetails() |
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
|
String |
getParentId()
The OCID of
the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
|
String |
getRootId()
The OCID of
the Exadata Infrastructure.
|
int |
hashCode() |
MacsManagedCloudDatabaseInsight.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 MacsManagedCloudDatabaseInsight(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, ConnectionDetails connectionDetails, CredentialDetails connectionCredentialDetails, String databaseId, String databaseName, String databaseDisplayName, String databaseResourceType, Object dbAdditionalDetails, String parentId, String rootId)
public static MacsManagedCloudDatabaseInsight.Builder builder()
Create a new builder.
public MacsManagedCloudDatabaseInsight.Builder toBuilder()
public String getManagementAgentId()
The OCID of the Management Agent
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 getParentId()
The OCID of the VM Cluster or DB System ID, depending on which configuration the resource belongs to.
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.