Class DatabaseUpgradeHistoryEntrySummary
- java.lang.Object
- 
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
- 
- com.oracle.bmc.database.model.DatabaseUpgradeHistoryEntrySummary
 
 
- 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DatabaseUpgradeHistoryEntrySummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelThe 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 theDatabaseUpgradeHistoryEntrySummary.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 theDatabaseUpgradeHistoryEntrySummary.Builder, which maintain a set of all explicitly set fields calledDatabaseUpgradeHistoryEntrySummary.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 SummaryNested Classes Modifier and Type Class Description static classDatabaseUpgradeHistoryEntrySummary.ActionThe database upgrade action.static classDatabaseUpgradeHistoryEntrySummary.Builderstatic classDatabaseUpgradeHistoryEntrySummary.LifecycleStateStatus of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.static classDatabaseUpgradeHistoryEntrySummary.SourceThe source of the Oracle Database software to be used for the upgrade.
 - 
Constructor SummaryConstructors Constructor Description DatabaseUpgradeHistoryEntrySummary(String id, DatabaseUpgradeHistoryEntrySummary.Action action, DatabaseUpgradeHistoryEntrySummary.Source source, DatabaseUpgradeHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, String targetDBVersion, String targetDatabaseSoftwareImageId, String targetDbHomeId, String sourceDbHomeId, Date timeStarted, Date timeEnded, String options)Deprecated.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseUpgradeHistoryEntrySummary.Builderbuilder()Create a new builder.booleanequals(Object o)DatabaseUpgradeHistoryEntrySummary.ActiongetAction()The database upgrade action.StringgetId()The OCID of the database upgrade history.StringgetLifecycleDetails()Additional information about the current lifecycle state.DatabaseUpgradeHistoryEntrySummary.LifecycleStategetLifecycleState()Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.StringgetOptions()Additional upgrade options supported by DBUA(Database Upgrade Assistant).DatabaseUpgradeHistoryEntrySummary.SourcegetSource()The source of the Oracle Database software to be used for the upgrade.StringgetSourceDbHomeId()The OCID of the Database Home.StringgetTargetDatabaseSoftwareImageId()the database software image used for upgrading database.StringgetTargetDbHomeId()The OCID of the Database Home.StringgetTargetDBVersion()A valid Oracle Database version.DategetTimeEnded()The date and time when the database upgrade ended.DategetTimeStarted()The date and time when the database upgrade started.inthashCode()DatabaseUpgradeHistoryEntrySummary.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
 
- 
- 
- 
Constructor Detail- 
DatabaseUpgradeHistoryEntrySummary@Deprecated @ConstructorProperties({"id","action","source","lifecycleState","lifecycleDetails","targetDBVersion","targetDatabaseSoftwareImageId","targetDbHomeId","sourceDbHomeId","timeStarted","timeEnded","options"}) public DatabaseUpgradeHistoryEntrySummary(String id, DatabaseUpgradeHistoryEntrySummary.Action action, DatabaseUpgradeHistoryEntrySummary.Source source, DatabaseUpgradeHistoryEntrySummary.LifecycleState lifecycleState, String lifecycleDetails, String targetDBVersion, String targetDatabaseSoftwareImageId, String targetDbHomeId, String sourceDbHomeId, Date timeStarted, Date timeEnded, String options) Deprecated.
 
- 
 - 
Method Detail- 
builderpublic static DatabaseUpgradeHistoryEntrySummary.Builder builder() Create a new builder.
 - 
toBuilderpublic DatabaseUpgradeHistoryEntrySummary.Builder toBuilder() 
 - 
getActionpublic DatabaseUpgradeHistoryEntrySummary.Action getAction() The database upgrade action.- Returns:
- the value
 
 - 
getSourcepublic DatabaseUpgradeHistoryEntrySummary.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
 
 - 
getLifecycleStatepublic DatabaseUpgradeHistoryEntrySummary.LifecycleState getLifecycleState() Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.- Returns:
- the value
 
 - 
getLifecycleDetailspublic String getLifecycleDetails() Additional information about the current lifecycle state.- Returns:
- the value
 
 - 
getTargetDBVersionpublic 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
 
 - 
getTargetDatabaseSoftwareImageIdpublic String getTargetDatabaseSoftwareImageId() the database software image used for upgrading database.- Returns:
- the value
 
 - 
getTargetDbHomeIdpublic String getTargetDbHomeId() The OCID of the Database Home.- Returns:
- the value
 
 - 
getSourceDbHomeIdpublic String getSourceDbHomeId() The OCID of the Database Home.- Returns:
- the value
 
 - 
getTimeStartedpublic Date getTimeStarted() The date and time when the database upgrade started.- Returns:
- the value
 
 - 
getTimeEndedpublic Date getTimeEnded() The date and time when the database upgrade ended.- Returns:
- the value
 
 - 
getOptionspublic String getOptions() Additional upgrade options supported by DBUA(Database Upgrade Assistant).Example: “-upgradeTimezone false -keepEvents” - Returns:
- the value
 
 - 
toStringpublic String toString() - Overrides:
- toStringin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
toStringpublic 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
 
 - 
equalspublic boolean equals(Object o) - Overrides:
- equalsin class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
 
 
- 
 
-