@Generated(value="OracleSDKGenerator", comments="API Version: 20200630") public final class DatabaseInsightSummary extends Object
Partial definition of the database insight resource.
Note: Objects should always be created or deserialized using the DatabaseInsightSummary.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 DatabaseInsightSummary.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseInsightSummary.Builder |
| Constructor and Description |
|---|
DatabaseInsightSummary(String databaseId,
String compartmentId,
String databaseName,
String databaseDisplayName,
String databaseType,
String databaseVersion,
List<String> databaseHostNames,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
Map<String,Map<String,Object>> systemTags)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseInsightSummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment.
|
String |
getDatabaseDisplayName()
The user-friendly name for the database.
|
List<String> |
getDatabaseHostNames()
The hostnames for the database.
|
String |
getDatabaseId()
The OCID of the database.
|
String |
getDatabaseName()
The database name.
|
String |
getDatabaseType()
Operations Insights internal representation of the database type.
|
String |
getDatabaseVersion()
The version of the database.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
Map<String,String> |
getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope.
|
Map<String,Map<String,Object>> |
getSystemTags()
System tags for this resource.
|
int |
hashCode() |
DatabaseInsightSummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"databaseId","compartmentId","databaseName","databaseDisplayName","databaseType","databaseVersion","databaseHostNames","freeformTags","definedTags","systemTags"}) @Deprecated public DatabaseInsightSummary(String databaseId, String compartmentId, String databaseName, String databaseDisplayName, String databaseType, String databaseVersion, List<String> databaseHostNames, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, Map<String,Map<String,Object>> systemTags)
public static DatabaseInsightSummary.Builder builder()
Create a new builder.
public DatabaseInsightSummary.Builder toBuilder()
public String getDatabaseName()
The database name. The database name is unique within the tenancy.
public String getDatabaseDisplayName()
The user-friendly name for the database. The name does not have to be unique.
public String getDatabaseType()
Operations Insights internal representation of the database type.
public String getDatabaseVersion()
The version of the database.
public Map<String,String> getFreeformTags()
Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
Example: {\"bar-key\": \"value\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace.
Example: {\"foo-namespace\": {\"bar-key\": \"value\"}}
public Map<String,Map<String,Object>> getSystemTags()
System tags for this resource. Each key is predefined and scoped to a namespace.
Example: {\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}
Copyright © 2016–2021. All rights reserved.