@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class ChildDatabase extends Object
The child Managed Database of a Managed Database Group.
Note: Objects should always be created or deserialized using the ChildDatabase.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 ChildDatabase.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 |
ChildDatabase.Builder |
| Constructor and Description |
|---|
ChildDatabase(String id,
String name,
String compartmentId,
DatabaseType databaseType,
DatabaseSubType databaseSubType,
Date timeAdded)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static ChildDatabase.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCompartmentId()
The OCID of the compartment in which the Managed Database resides.
|
DatabaseSubType |
getDatabaseSubType()
The subtype of the Oracle Database.
|
DatabaseType |
getDatabaseType()
The type of Oracle Database installation.
|
String |
getId()
The OCID of the Managed Database.
|
String |
getName()
The name of the Managed Database.
|
Date |
getTimeAdded()
The date and time the Managed Database was added to the group.
|
int |
hashCode() |
ChildDatabase.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","name","compartmentId","databaseType","databaseSubType","timeAdded"}) @Deprecated public ChildDatabase(String id, String name, String compartmentId, DatabaseType databaseType, DatabaseSubType databaseSubType, Date timeAdded)
public static ChildDatabase.Builder builder()
Create a new builder.
public ChildDatabase.Builder toBuilder()
public String getName()
The name of the Managed Database.
public String getCompartmentId()
The OCID of the compartment in which the Managed Database resides.
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 Date getTimeAdded()
The date and time the Managed Database was added to the group.
Copyright © 2016–2021. All rights reserved.