@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class PdbConversionHistoryEntry extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of operations performed to convert a non-container database to pluggable database.
Note: Objects should always be created or deserialized using the PdbConversionHistoryEntry.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 PdbConversionHistoryEntry.Builder
, which maintain a
set of all explicitly set fields called PdbConversionHistoryEntry.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 |
PdbConversionHistoryEntry.Action
The operations used to convert a non-container database to a pluggable database.
|
static class |
PdbConversionHistoryEntry.Builder |
static class |
PdbConversionHistoryEntry.LifecycleState
Status of an operation performed during the conversion of a non-container database to a
pluggable database.
|
static class |
PdbConversionHistoryEntry.Target
The target container database of the pluggable database created by the database conversion
operation.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
PdbConversionHistoryEntry(String id,
PdbConversionHistoryEntry.Action action,
PdbConversionHistoryEntry.Target target,
String sourceDatabaseId,
String targetDatabaseId,
String cdbName,
PdbConversionHistoryEntry.LifecycleState lifecycleState,
String lifecycleDetails,
Date timeStarted,
Date timeEnded,
String additionalCdbParams)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static PdbConversionHistoryEntry.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
PdbConversionHistoryEntry.Action |
getAction()
The operations used to convert a non-container database to a pluggable database.
|
String |
getAdditionalCdbParams()
Additional container database parameter.
|
String |
getCdbName()
The database name.
|
String |
getId()
The OCID of the
database conversion history.
|
String |
getLifecycleDetails()
Additional information about the current lifecycle state for the conversion operation.
|
PdbConversionHistoryEntry.LifecycleState |
getLifecycleState()
Status of an operation performed during the conversion of a non-container database to a
pluggable database.
|
String |
getSourceDatabaseId()
The OCID of the
database.
|
PdbConversionHistoryEntry.Target |
getTarget()
The target container database of the pluggable database created by the database conversion
operation.
|
String |
getTargetDatabaseId()
The OCID of the
database.
|
Date |
getTimeEnded()
The date and time when the database conversion operation ended.
|
Date |
getTimeStarted()
The date and time when the database conversion operation started.
|
int |
hashCode() |
PdbConversionHistoryEntry.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","action","target","sourceDatabaseId","targetDatabaseId","cdbName","lifecycleState","lifecycleDetails","timeStarted","timeEnded","additionalCdbParams"}) public PdbConversionHistoryEntry(String id, PdbConversionHistoryEntry.Action action, PdbConversionHistoryEntry.Target target, String sourceDatabaseId, String targetDatabaseId, String cdbName, PdbConversionHistoryEntry.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, String additionalCdbParams)
public static PdbConversionHistoryEntry.Builder builder()
Create a new builder.
public PdbConversionHistoryEntry.Builder toBuilder()
public PdbConversionHistoryEntry.Action getAction()
The operations used to convert a non-container database to a pluggable database. - Use PRECHECK
to run a pre-check operation on non-container database prior to converting it into
a pluggable database. - Use CONVERT
to convert a non-container database into a
pluggable database. - Use SYNC
if the non-container database was manually converted
into a pluggable database using the dbcli command-line utility. Databases may need to be
converted manually if the CONVERT action fails when converting a non-container database using
the API. - Use SYNC_ROLLBACK
if the conversion of a non-container database into a
pluggable database was manually rolled back using the dbcli command line utility. Conversions
may need to be manually rolled back if the CONVERT action fails when converting a
non-container database using the API.
public PdbConversionHistoryEntry.Target getTarget()
The target container database of the pluggable database created by the database conversion
operation. Currently, the database conversion operation only supports creating the pluggable
database in a new container database. - Use NEW_DATABASE
to specify that the
pluggable database be created within a new container database in the same database home.
public String getSourceDatabaseId()
The OCID of the database.
public String getTargetDatabaseId()
The OCID of the database.
public String getCdbName()
The database name. The name must begin with an alphabetic character and can contain a maximum of 8 alphanumeric characters. Special characters are not permitted. The database name must be unique in the tenancy.
public PdbConversionHistoryEntry.LifecycleState getLifecycleState()
Status of an operation performed during the conversion of a non-container database to a pluggable database.
public String getLifecycleDetails()
Additional information about the current lifecycle state for the conversion operation.
public Date getTimeStarted()
The date and time when the database conversion operation started.
public Date getTimeEnded()
The date and time when the database conversion operation ended.
public String getAdditionalCdbParams()
Additional container database parameter.
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.