@Generated(value="OracleSDKGenerator", comments="API Version: 20201101") public final class ExternalAsmServicedDatabase extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of a database serviced by an external ASM.
Note: Objects should always be created or deserialized using the ExternalAsmServicedDatabase.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 ExternalAsmServicedDatabase.Builder
, which maintain a
set of all explicitly set fields called ExternalAsmServicedDatabase.Builder.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take the explicitly set
fields into account. The constructor, on the other hand, does not take the explicitly set fields
into account (since the constructor cannot distinguish explicit null
from unset null
).
Modifier and Type | Class and Description |
---|---|
static class |
ExternalAsmServicedDatabase.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
ExternalAsmServicedDatabase(List<String> diskGroups,
String id,
String displayName,
String dbUniqueName,
String compartmentId,
DatabaseType databaseType,
DatabaseSubType databaseSubType,
Boolean isManaged)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ExternalAsmServicedDatabase.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getCompartmentId()
The OCID of the
compartment in which the external database resides.
|
DatabaseSubType |
getDatabaseSubType()
The subtype of Oracle Database.
|
DatabaseType |
getDatabaseType()
The type of Oracle Database installation.
|
String |
getDbUniqueName()
The unique name of the external database.
|
List<String> |
getDiskGroups()
The list of ASM disk groups used by the database.
|
String |
getDisplayName()
The user-friendly name for the database.
|
String |
getId()
The OCID of the
external database.
|
Boolean |
getIsManaged()
Indicates whether the database is a Managed Database or not.
|
int |
hashCode() |
ExternalAsmServicedDatabase.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"diskGroups","id","displayName","dbUniqueName","compartmentId","databaseType","databaseSubType","isManaged"}) public ExternalAsmServicedDatabase(List<String> diskGroups, String id, String displayName, String dbUniqueName, String compartmentId, DatabaseType databaseType, DatabaseSubType databaseSubType, Boolean isManaged)
public static ExternalAsmServicedDatabase.Builder builder()
Create a new builder.
public ExternalAsmServicedDatabase.Builder toBuilder()
public List<String> getDiskGroups()
The list of ASM disk groups used by the database.
public String getDisplayName()
The user-friendly name for the database. The name does not have to be unique.
public String getDbUniqueName()
The unique name of the external database.
public String getCompartmentId()
The OCID of the compartment in which the external database resides.
public DatabaseType getDatabaseType()
The type of Oracle Database installation.
public DatabaseSubType getDatabaseSubType()
The subtype of Oracle Database. Indicates whether the database is a Container Database, Pluggable Database, Non-container Database, Autonomous Database, or Autonomous Container Database.
public Boolean getIsManaged()
Indicates whether the database is a Managed Database or not.
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.