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.ExplicitlySetBmcModelDetails 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 classPdbConversionHistoryEntrySummary.ActionThe operations used to convert a non-container database to a pluggable database.static classPdbConversionHistoryEntrySummary.Builderstatic classPdbConversionHistoryEntrySummary.LifecycleStateStatus of an operation performed during the conversion of a non-container database to a pluggable database.static classPdbConversionHistoryEntrySummary.TargetThe 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.Builderbuilder()Create a new builder.booleanequals(Object o)PdbConversionHistoryEntrySummary.ActiongetAction()The operations used to convert a non-container database to a pluggable database.StringgetAdditionalCdbParams()Additional container database parameter.StringgetCdbName()The database name.StringgetId()The OCID of the database conversion history.StringgetLifecycleDetails()Additional information about the current lifecycle state for the conversion operation.PdbConversionHistoryEntrySummary.LifecycleStategetLifecycleState()Status of an operation performed during the conversion of a non-container database to a pluggable database.StringgetSourceDatabaseId()The OCID of the database.PdbConversionHistoryEntrySummary.TargetgetTarget()The target container database of the pluggable database created by the database conversion operation.StringgetTargetDatabaseId()The OCID of the database.DategetTimeEnded()The date and time when the database conversion operation ended.DategetTimeStarted()The date and time when the database conversion operation started.inthashCode()PdbConversionHistoryEntrySummary.BuildertoBuilder()StringtoString()StringtoString(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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-