Class 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 the PdbConversionHistoryEntrySummary.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 PdbConversionHistoryEntrySummary.Builder, which maintain a set of all explicitly set fields called PdbConversionHistoryEntrySummary.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).
    • Method Detail

      • getId

        public String getId()
        The OCID of the database conversion history.
        Returns:
        the value
      • 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
      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel