Class DatabaseUpgradeHistoryEntry


  • @Generated(value="OracleSDKGenerator",
               comments="API Version: 20160918")
    public final class DatabaseUpgradeHistoryEntry
    extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
    The Database service supports the upgrade history of databases.

    To use any of the API operations, you must be authorized in an IAM policy. If you are not authorized, talk to an administrator. If you are an administrator who needs to write policies to give users access, see [Getting Started with Policies](https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm).

    For information about access control and compartments, see [Overview of the Identity Service](https://docs.oracle.com/iaas/Content/Identity/Concepts/overview.htm).

    *Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
    Note: Objects should always be created or deserialized using the DatabaseUpgradeHistoryEntry.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 DatabaseUpgradeHistoryEntry.Builder, which maintain a set of all explicitly set fields called DatabaseUpgradeHistoryEntry.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 upgrade history.
        Returns:
        the value
      • getSource

        public DatabaseUpgradeHistoryEntry.Source getSource()
        The source of the Oracle Database software to be used for the upgrade.
        • Use DB_HOME to specify an existing Database Home to upgrade the database. The database is moved to the target Database Home and makes use of the Oracle Database software version of the target Database Home. - Use DB_VERSION to specify a generally-available Oracle Database software version to upgrade the database. - Use DB_SOFTWARE_IMAGE to specify a database software image to upgrade the database.
        Returns:
        the value
      • getLifecycleDetails

        public String getLifecycleDetails()
        Additional information about the current lifecycle state.
        Returns:
        the value
      • getTargetDBVersion

        public String getTargetDBVersion()
        A valid Oracle Database version.

        For a list of supported versions, use the ListDbVersions operation.

        This cannot be updated in parallel with any of the following: licenseModel, dbEdition, cpuCoreCount, computeCount, computeModel, adminPassword, whitelistedIps, isMTLSConnectionRequired, openMode, permissionLevel, dbWorkload, privateEndpointLabel, nsgIds, isRefreshable, dbName, scheduledOperations, dbToolsDetails, isLocalDataGuardEnabled, or isFreeTier.

        Returns:
        the value
      • getTargetDatabaseSoftwareImageId

        public String getTargetDatabaseSoftwareImageId()
        the database software image used for upgrading database.
        Returns:
        the value
      • getTargetDbHomeId

        public String getTargetDbHomeId()
        The OCID of the Database Home.
        Returns:
        the value
      • getSourceDbHomeId

        public String getSourceDbHomeId()
        The OCID of the Database Home.
        Returns:
        the value
      • getTimeStarted

        public Date getTimeStarted()
        The date and time when the database upgrade started.
        Returns:
        the value
      • getTimeEnded

        public Date getTimeEnded()
        The date and time when the database upgrade ended.
        Returns:
        the value
      • getOptions

        public String getOptions()
        Additional upgrade options supported by DBUA(Database Upgrade Assistant).

        Example: “-upgradeTimezone false -keepEvents”

        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