@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DatabaseUpgradeHistoryEntrySummary extends Object
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.cloud.oracle.com/Content/Identity/Concepts/policygetstarted.htm).
For information about access control and compartments, see [Overview of the Identity Service](https://docs.cloud.oracle.com/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 DatabaseUpgradeHistoryEntrySummary.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 DatabaseUpgradeHistoryEntrySummary.Builder, which maintain a set of all explicitly set fields called
__explicitlySet__. The hashCode() and equals(Object) methods are implemented to take
__explicitlySet__ into account. The constructor, on the other hand, does not set __explicitlySet__
(since the constructor cannot distinguish explicit null from unset null).
| Modifier and Type | Class and Description |
|---|---|
static class |
DatabaseUpgradeHistoryEntrySummary.Action
The database upgrade action.
|
static class |
DatabaseUpgradeHistoryEntrySummary.Builder |
static class |
DatabaseUpgradeHistoryEntrySummary.LifecycleState
Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.
|
static class |
DatabaseUpgradeHistoryEntrySummary.Source
The source of the Oracle Database software to be used for the upgrade.
|
| Constructor and 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)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static DatabaseUpgradeHistoryEntrySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
Set<String> |
get__explicitlySet__() |
DatabaseUpgradeHistoryEntrySummary.Action |
getAction()
The database upgrade action.
|
String |
getId()
The OCID of the database upgrade history.
|
String |
getLifecycleDetails()
Additional information about the current lifecycle state.
|
DatabaseUpgradeHistoryEntrySummary.LifecycleState |
getLifecycleState()
Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.
|
DatabaseUpgradeHistoryEntrySummary.Source |
getSource()
The source of the Oracle Database software to be used for the upgrade.
|
String |
getSourceDbHomeId()
The OCID of the Database Home.
|
String |
getTargetDatabaseSoftwareImageId()
the database software image used for upgrading database.
|
String |
getTargetDbHomeId()
The OCID of the Database Home.
|
String |
getTargetDBVersion()
A valid Oracle Database version.
|
Date |
getTimeEnded()
The date and time when the database upgrade ended.
|
Date |
getTimeStarted()
The date and time when the database upgrade started.
|
int |
hashCode() |
DatabaseUpgradeHistoryEntrySummary.Builder |
toBuilder() |
String |
toString() |
@ConstructorProperties(value={"id","action","source","lifecycleState","lifecycleDetails","targetDBVersion","targetDatabaseSoftwareImageId","targetDbHomeId","sourceDbHomeId","timeStarted","timeEnded"}) @Deprecated 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)
public static DatabaseUpgradeHistoryEntrySummary.Builder builder()
Create a new builder.
public DatabaseUpgradeHistoryEntrySummary.Builder toBuilder()
public DatabaseUpgradeHistoryEntrySummary.Action getAction()
The database upgrade action.
public DatabaseUpgradeHistoryEntrySummary.Source getSource()
The source of the Oracle Database software to be used for the upgrade.
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.DB_VERSION to specify a generally-available Oracle Database software version to upgrade the database.DB_SOFTWARE_IMAGE to specify a database software image to upgrade the database.public DatabaseUpgradeHistoryEntrySummary.LifecycleState getLifecycleState()
Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public String getTargetDBVersion()
A valid Oracle Database version. To get a list of supported versions, use the listDbVersions operation.
public String getTargetDatabaseSoftwareImageId()
the database software image used for upgrading database.
public Date getTimeStarted()
The date and time when the database upgrade started.
public Date getTimeEnded()
The date and time when the database upgrade ended.
Copyright © 2016–2021. All rights reserved.