Class DatabaseUpgradeHistoryEntry
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.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 theDatabaseUpgradeHistoryEntry.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 theDatabaseUpgradeHistoryEntry.Builder
, which maintain a set of all explicitly set fields calledDatabaseUpgradeHistoryEntry.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 Summary
Nested Classes Modifier and Type Class Description static class
DatabaseUpgradeHistoryEntry.Action
The database upgrade action.static class
DatabaseUpgradeHistoryEntry.Builder
static class
DatabaseUpgradeHistoryEntry.LifecycleState
Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.static class
DatabaseUpgradeHistoryEntry.Source
The source of the Oracle Database software to be used for the upgrade.
-
Constructor Summary
Constructors Constructor Description DatabaseUpgradeHistoryEntry(String id, DatabaseUpgradeHistoryEntry.Action action, DatabaseUpgradeHistoryEntry.Source source, DatabaseUpgradeHistoryEntry.LifecycleState lifecycleState, String lifecycleDetails, String targetDBVersion, String targetDatabaseSoftwareImageId, String targetDbHomeId, String sourceDbHomeId, Date timeStarted, Date timeEnded, String options)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseUpgradeHistoryEntry.Builder
builder()
Create a new builder.boolean
equals(Object o)
DatabaseUpgradeHistoryEntry.Action
getAction()
The database upgrade action.String
getId()
The OCID of the database upgrade history.String
getLifecycleDetails()
Additional information about the current lifecycle state.DatabaseUpgradeHistoryEntry.LifecycleState
getLifecycleState()
Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.String
getOptions()
Additional upgrade options supported by DBUA(Database Upgrade Assistant).DatabaseUpgradeHistoryEntry.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()
DatabaseUpgradeHistoryEntry.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
DatabaseUpgradeHistoryEntry
@Deprecated @ConstructorProperties({"id","action","source","lifecycleState","lifecycleDetails","targetDBVersion","targetDatabaseSoftwareImageId","targetDbHomeId","sourceDbHomeId","timeStarted","timeEnded","options"}) public DatabaseUpgradeHistoryEntry(String id, DatabaseUpgradeHistoryEntry.Action action, DatabaseUpgradeHistoryEntry.Source source, DatabaseUpgradeHistoryEntry.LifecycleState lifecycleState, String lifecycleDetails, String targetDBVersion, String targetDatabaseSoftwareImageId, String targetDbHomeId, String sourceDbHomeId, Date timeStarted, Date timeEnded, String options)
Deprecated.
-
-
Method Detail
-
builder
public static DatabaseUpgradeHistoryEntry.Builder builder()
Create a new builder.
-
toBuilder
public DatabaseUpgradeHistoryEntry.Builder toBuilder()
-
getAction
public DatabaseUpgradeHistoryEntry.Action getAction()
The database upgrade action.- 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
-
getLifecycleState
public DatabaseUpgradeHistoryEntry.LifecycleState getLifecycleState()
Status of database upgrade history SUCCEEDED|IN_PROGRESS|FAILED.- 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 classcom.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 classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-