@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,
DeploymentType deploymentType,
WorkloadType workloadType,
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.
|
DeploymentType |
getDeploymentType()
The infrastructure used to deploy the Oracle Database.
|
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.
|
WorkloadType |
getWorkloadType()
The workload type of the Autonomous Database.
|
int |
hashCode() |
ChildDatabase.Builder |
toBuilder() |
String |
toString() |
@Deprecated @ConstructorProperties(value={"id","name","compartmentId","deploymentType","workloadType","databaseType","databaseSubType","timeAdded"}) public ChildDatabase(String id, String name, String compartmentId, DeploymentType deploymentType, WorkloadType workloadType, 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 DeploymentType getDeploymentType()
The infrastructure used to deploy the Oracle Database.
public WorkloadType getWorkloadType()
The workload type of the Autonomous 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, Non-container Database, Autonomous Database, or Autonomous Container Database.
public Date getTimeAdded()
The date and time the Managed Database was added to the group.
Copyright © 2016–2022. All rights reserved.