@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class Database extends Object
Note: Objects should always be created or deserialized using the Database.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 Database.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 |
Database.Builder |
static class |
Database.LifecycleState
The current state of the database.
|
Constructor and Description |
---|
Database(String id,
String compartmentId,
String characterSet,
String ncharacterSet,
String dbHomeId,
String dbName,
String pdbName,
String dbWorkload,
String dbUniqueName,
String lifecycleDetails,
Database.LifecycleState lifecycleState,
Date timeCreated,
DbBackupConfig dbBackupConfig,
Map<String,String> freeformTags,
Map<String,Map<String,Object>> definedTags,
DatabaseConnectionStrings connectionStrings)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static Database.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
String |
getCharacterSet()
The character set for the database.
|
String |
getCompartmentId()
The OCID of the compartment.
|
DatabaseConnectionStrings |
getConnectionStrings()
The Connection strings used to connect to the Oracle Database.
|
DbBackupConfig |
getDbBackupConfig() |
String |
getDbHomeId()
The OCID of the database home.
|
String |
getDbName()
The database name.
|
String |
getDbUniqueName()
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases).
|
String |
getDbWorkload()
The database workload type.
|
Map<String,Map<String,Object>> |
getDefinedTags()
Defined tags for this resource.
|
Map<String,String> |
getFreeformTags()
Free-form tags for this resource.
|
String |
getId()
The OCID of the database.
|
String |
getLifecycleDetails()
Additional information about the current lifecycleState.
|
Database.LifecycleState |
getLifecycleState()
The current state of the database.
|
String |
getNcharacterSet()
The national character set for the database.
|
String |
getPdbName()
The name of the pluggable database.
|
Date |
getTimeCreated()
The date and time the database was created.
|
int |
hashCode() |
String |
toString() |
@ConstructorProperties(value={"id","compartmentId","characterSet","ncharacterSet","dbHomeId","dbName","pdbName","dbWorkload","dbUniqueName","lifecycleDetails","lifecycleState","timeCreated","dbBackupConfig","freeformTags","definedTags","connectionStrings"}) @Deprecated public Database(String id, String compartmentId, String characterSet, String ncharacterSet, String dbHomeId, String dbName, String pdbName, String dbWorkload, String dbUniqueName, String lifecycleDetails, Database.LifecycleState lifecycleState, Date timeCreated, DbBackupConfig dbBackupConfig, Map<String,String> freeformTags, Map<String,Map<String,Object>> definedTags, DatabaseConnectionStrings connectionStrings)
public static Database.Builder builder()
Create a new builder.
public String getCharacterSet()
The character set for the database.
public String getNcharacterSet()
The national character set for the database.
public String getDbName()
The database name.
public String getPdbName()
The name of the pluggable database. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted. Pluggable database should not be same as database name.
public String getDbWorkload()
The database workload type.
public String getDbUniqueName()
A system-generated name for the database to ensure uniqueness within an Oracle Data Guard group (a primary database and its standby databases). The unique name cannot be changed.
public String getLifecycleDetails()
Additional information about the current lifecycleState.
public Database.LifecycleState getLifecycleState()
The current state of the database.
public Date getTimeCreated()
The date and time the database was created.
public DbBackupConfig getDbBackupConfig()
public Map<String,String> getFreeformTags()
Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace. For more information, see Resource Tags.
Example: {\"Department\": \"Finance\"}
public Map<String,Map<String,Object>> getDefinedTags()
Defined tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
Example: {\"Operations\": {\"CostCenter\": \"42\"}}
public DatabaseConnectionStrings getConnectionStrings()
The Connection strings used to connect to the Oracle Database.
Copyright © 2016–2019. All rights reserved.