@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class ManagedDatabase extends Object
The details of a Managed Database.
Note: Objects should always be created or deserialized using the ManagedDatabase.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 ManagedDatabase.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 |
ManagedDatabase.Builder |
| Constructor and Description |
|---|
ManagedDatabase(String id,
String compartmentId,
String name,
DatabaseType databaseType,
DatabaseSubType databaseSubType,
Boolean isCluster,
String parentContainerId,
List<ParentGroup> managedDatabaseGroups,
Date timeCreated,
DatabaseStatus databaseStatus,
Map<String,String> additionalDetails)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ManagedDatabase.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
Map<String,String> |
getAdditionalDetails()
The additional details specific to a type of database defined in
{\"key\": \"value\"} format. |
String |
getCompartmentId()
The OCID of the compartment.
|
DatabaseStatus |
getDatabaseStatus()
The status of the Oracle Database.
|
DatabaseSubType |
getDatabaseSubType()
The subtype of the Oracle Database.
|
DatabaseType |
getDatabaseType()
The type of Oracle Database installation.
|
String |
getId()
The OCID of the Managed Database.
|
Boolean |
getIsCluster()
Indicates whether the Oracle Database is part of a cluster.
|
List<ParentGroup> |
getManagedDatabaseGroups()
A list of Managed Database Groups that the Managed Database belongs to.
|
String |
getName()
The name of the Managed Database.
|
String |
getParentContainerId()
The OCID of the parent Container Database
if Managed Database is a Pluggable Database.
|
Date |
getTimeCreated()
The date and time the Managed Database was created.
|
int |
hashCode() |
ManagedDatabase.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","name","databaseType","databaseSubType","isCluster","parentContainerId","managedDatabaseGroups","timeCreated","databaseStatus","additionalDetails"}) @Deprecated public ManagedDatabase(String id, String compartmentId, String name, DatabaseType databaseType, DatabaseSubType databaseSubType, Boolean isCluster, String parentContainerId, List<ParentGroup> managedDatabaseGroups, Date timeCreated, DatabaseStatus databaseStatus, Map<String,String> additionalDetails)
public static ManagedDatabase.Builder builder()
Create a new builder.
public ManagedDatabase.Builder toBuilder()
public String getName()
The name of the Managed Database.
public DatabaseType getDatabaseType()
The type of Oracle Database installation.
public DatabaseSubType getDatabaseSubType()
The subtype of the Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, or a Non-container Database.
public Boolean getIsCluster()
Indicates whether the Oracle Database is part of a cluster.
public String getParentContainerId()
The OCID of the parent Container Database if Managed Database is a Pluggable Database.
public List<ParentGroup> getManagedDatabaseGroups()
A list of Managed Database Groups that the Managed Database belongs to.
public Date getTimeCreated()
The date and time the Managed Database was created.
public DatabaseStatus getDatabaseStatus()
The status of the Oracle Database. Indicates whether the status of the database is UP, DOWN, or UNKNOWN at the current time.
public Map<String,String> getAdditionalDetails()
The additional details specific to a type of database defined in {\"key\": \"value\"} format.
Example: {\"bar-key\": \"value\"}
Copyright © 2016–2021. All rights reserved.