@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class DatabaseUpgradeHistoryEntrySummary 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.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 DatabaseUpgradeHistoryEntrySummary.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
).
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.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
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,
String options)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DatabaseUpgradeHistoryEntrySummary.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
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.
|
String |
getOptions()
Additional upgrade options supported by DBUA(Database Upgrade Assistant).
|
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() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"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)
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. - 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.
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. 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.
public String getTargetDatabaseSoftwareImageId()
the database software image used for upgrading database.
public String getTargetDbHomeId()
The OCID of the Database Home.
public String getSourceDbHomeId()
The OCID of the Database Home.
public Date getTimeStarted()
The date and time when the database upgrade started.
public Date getTimeEnded()
The date and time when the database upgrade ended.
public String getOptions()
Additional upgrade options supported by DBUA(Database Upgrade Assistant). Example: “-upgradeTimezone false -keepEvents”
public String toString()
toString
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public String toString(boolean includeByteArrayContents)
Return a string representation of the object.
includeByteArrayContents
- true to include the full contents of byte arrayspublic boolean equals(Object o)
equals
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
public int hashCode()
hashCode
in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Copyright © 2016–2024. All rights reserved.