Package com.oracle.bmc.database.model
Class PdbConversionHistoryEntrySummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.PdbConversionHistoryEntrySummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class PdbConversionHistoryEntrySummary 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 thePdbConversionHistoryEntrySummary.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 thePdbConversionHistoryEntrySummary.Builder
, which maintain a set of all explicitly set fields calledPdbConversionHistoryEntrySummary.Builder.__explicitlySet__
. ThehashCode()
andequals(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).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PdbConversionHistoryEntrySummary.Action
The operations used to convert a non-container database to a pluggable database.static class
PdbConversionHistoryEntrySummary.Builder
static class
PdbConversionHistoryEntrySummary.LifecycleState
Status of an operation performed during the conversion of a non-container database to a pluggable database.static class
PdbConversionHistoryEntrySummary.Target
The target container database of the pluggable database created by the database conversion operation.
-
Constructor Summary
Constructors Constructor Description PdbConversionHistoryEntrySummary(String id, PdbConversionHistoryEntrySummary.Action action, PdbConversionHistoryEntrySummary.Target target, String sourceDatabaseId, String targetDatabaseId, String cdbName, PdbConversionHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, String additionalCdbParams)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PdbConversionHistoryEntrySummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
PdbConversionHistoryEntrySummary.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.PdbConversionHistoryEntrySummary.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.PdbConversionHistoryEntrySummary.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()
PdbConversionHistoryEntrySummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
PdbConversionHistoryEntrySummary
@Deprecated @ConstructorProperties({"id","action","target","sourceDatabaseId","targetDatabaseId","cdbName","lifecycleState","lifecycleDetails","timeStarted","timeEnded","additionalCdbParams"}) public PdbConversionHistoryEntrySummary(String id, PdbConversionHistoryEntrySummary.Action action, PdbConversionHistoryEntrySummary.Target target, String sourceDatabaseId, String targetDatabaseId, String cdbName, PdbConversionHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeStarted, Date timeEnded, String additionalCdbParams)
Deprecated.
-
-
Method Detail
-
builder
public static PdbConversionHistoryEntrySummary.Builder builder()
Create a new builder.
-
toBuilder
public PdbConversionHistoryEntrySummary.Builder toBuilder()
-
getAction
public PdbConversionHistoryEntrySummary.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.
- Returns:
- the value
-
getTarget
public PdbConversionHistoryEntrySummary.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.
- Returns:
- the value
-
getSourceDatabaseId
public String getSourceDatabaseId()
The OCID of the database.- Returns:
- the value
-
getTargetDatabaseId
public String getTargetDatabaseId()
The OCID of the database.- Returns:
- the value
-
getCdbName
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.
- Returns:
- the value
-
getLifecycleState
public PdbConversionHistoryEntrySummary.LifecycleState getLifecycleState()
Status of an operation performed during the conversion of a non-container database to a pluggable database.- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current lifecycle state for the conversion operation.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The date and time when the database conversion operation started.- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The date and time when the database conversion operation ended.- Returns:
- the value
-
getAdditionalCdbParams
public String getAdditionalCdbParams()
Additional container database parameter.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toString
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
toString
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.- Parameters:
includeByteArrayContents
- true to include the full contents of byte arrays- Returns:
- string representation
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-