Package com.oracle.bmc.database.model
Class ManagedSoftwareUpdateMaintenanceDetails
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.ManagedSoftwareUpdateMaintenanceDetails
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class ManagedSoftwareUpdateMaintenanceDetails extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModelProvides details about actual Oracle Managed Database Software Updates scheduled time and version.
Note: Objects should always be created or deserialized using theManagedSoftwareUpdateMaintenanceDetails.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 theManagedSoftwareUpdateMaintenanceDetails.Builder, which maintain a set of all explicitly set fields calledManagedSoftwareUpdateMaintenanceDetails.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 classManagedSoftwareUpdateMaintenanceDetails.Builderstatic classManagedSoftwareUpdateMaintenanceDetails.UpdateModeOracle Managed Database Software update method, either “ROLLING” or “NONROLLING”static classManagedSoftwareUpdateMaintenanceDetails.UpdateReadinessStatusThe managed software update readiness status
-
Constructor Summary
Constructors Constructor Description ManagedSoftwareUpdateMaintenanceDetails(Date timeScheduled, ManagedSoftwareUpdateMaintenanceDetails.UpdateReadinessStatus updateReadinessStatus, String updateReadinessStatusDetails, Date timeOfStatusUpdate, ManagedSoftwareUpdateMaintenanceDetails.UpdateMode updateMode, String version, Date timeOfLastReadinessCheck)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ManagedSoftwareUpdateMaintenanceDetails.Builderbuilder()Create a new builder.booleanequals(Object o)DategetTimeOfLastReadinessCheck()The date and time of the last readiness check.DategetTimeOfStatusUpdate()The date and time of when the status was updated.DategetTimeScheduled()The date and time of the database was scheduled for update.ManagedSoftwareUpdateMaintenanceDetails.UpdateModegetUpdateMode()Oracle Managed Database Software update method, either “ROLLING” or “NONROLLING”ManagedSoftwareUpdateMaintenanceDetails.UpdateReadinessStatusgetUpdateReadinessStatus()The managed software update readiness statusStringgetUpdateReadinessStatusDetails()This field will contain actual cause of update readiness state.StringgetVersion()The version of the database was scheduled for update.inthashCode()ManagedSoftwareUpdateMaintenanceDetails.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
ManagedSoftwareUpdateMaintenanceDetails
@Deprecated @ConstructorProperties({"timeScheduled","updateReadinessStatus","updateReadinessStatusDetails","timeOfStatusUpdate","updateMode","version","timeOfLastReadinessCheck"}) public ManagedSoftwareUpdateMaintenanceDetails(Date timeScheduled, ManagedSoftwareUpdateMaintenanceDetails.UpdateReadinessStatus updateReadinessStatus, String updateReadinessStatusDetails, Date timeOfStatusUpdate, ManagedSoftwareUpdateMaintenanceDetails.UpdateMode updateMode, String version, Date timeOfLastReadinessCheck)
Deprecated.
-
-
Method Detail
-
builder
public static ManagedSoftwareUpdateMaintenanceDetails.Builder builder()
Create a new builder.
-
toBuilder
public ManagedSoftwareUpdateMaintenanceDetails.Builder toBuilder()
-
getTimeScheduled
public Date getTimeScheduled()
The date and time of the database was scheduled for update.- Returns:
- the value
-
getUpdateReadinessStatus
public ManagedSoftwareUpdateMaintenanceDetails.UpdateReadinessStatus getUpdateReadinessStatus()
The managed software update readiness status- Returns:
- the value
-
getUpdateReadinessStatusDetails
public String getUpdateReadinessStatusDetails()
This field will contain actual cause of update readiness state.- Returns:
- the value
-
getTimeOfStatusUpdate
public Date getTimeOfStatusUpdate()
The date and time of when the status was updated.- Returns:
- the value
-
getUpdateMode
public ManagedSoftwareUpdateMaintenanceDetails.UpdateMode getUpdateMode()
Oracle Managed Database Software update method, either “ROLLING” or “NONROLLING”- Returns:
- the value
-
getVersion
public String getVersion()
The version of the database was scheduled for update.- Returns:
- the value
-
getTimeOfLastReadinessCheck
public Date getTimeOfLastReadinessCheck()
The date and time of the last readiness check.- Returns:
- the value
-
toString
public String toString()
- Overrides:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-