@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class AutonomousDatabaseInsight extends DatabaseInsight
Database insight resource.
Note: Objects should always be created or deserialized using the AutonomousDatabaseInsight.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 AutonomousDatabaseInsight.Builder
, which maintain a
set of all explicitly set fields called AutonomousDatabaseInsight.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 |
AutonomousDatabaseInsight.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
AutonomousDatabaseInsight(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,
Object dbAdditionalDetails,
String opsiPrivateEndpointId,
Boolean isAdvancedFeaturesEnabled,
ConnectionDetails connectionDetails,
CredentialDetails credentialDetails)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static AutonomousDatabaseInsight.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
ConnectionDetails |
getConnectionDetails() |
CredentialDetails |
getCredentialDetails() |
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.
|
Boolean |
getIsAdvancedFeaturesEnabled()
Flag is to identify if advanced features for autonomous database is enabled or not
|
String |
getOpsiPrivateEndpointId()
The OCID of
the OPSI private endpoint
|
int |
hashCode() |
AutonomousDatabaseInsight.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 AutonomousDatabaseInsight(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, Object dbAdditionalDetails, String opsiPrivateEndpointId, Boolean isAdvancedFeaturesEnabled, ConnectionDetails connectionDetails, CredentialDetails credentialDetails)
public static AutonomousDatabaseInsight.Builder builder()
Create a new builder.
public AutonomousDatabaseInsight.Builder toBuilder()
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 getOpsiPrivateEndpointId()
The OCID of the OPSI private endpoint
public Boolean getIsAdvancedFeaturesEnabled()
Flag is to identify if advanced features for autonomous database is enabled or not
public ConnectionDetails getConnectionDetails()
public CredentialDetails getCredentialDetails()
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.