Class MaintenanceRunSummary
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.database.model.MaintenanceRunSummary
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class MaintenanceRunSummary extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of a maintenance run.
Note: Objects should always be created or deserialized using theMaintenanceRunSummary.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 theMaintenanceRunSummary.Builder
, which maintain a set of all explicitly set fields calledMaintenanceRunSummary.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
MaintenanceRunSummary.Builder
static class
MaintenanceRunSummary.LifecycleState
The current state of the maintenance run.static class
MaintenanceRunSummary.MaintenanceSubtype
Maintenance sub-type.static class
MaintenanceRunSummary.MaintenanceType
Maintenance type.static class
MaintenanceRunSummary.PatchingMode
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.static class
MaintenanceRunSummary.PatchingStatus
The status of the patching operation.static class
MaintenanceRunSummary.TargetResourceType
The type of the target resource on which the maintenance run occurs.
-
Constructor Summary
Constructors Constructor Description MaintenanceRunSummary(String id, String compartmentId, String displayName, String description, MaintenanceRunSummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeScheduled, Date timeStarted, Date timeEnded, MaintenanceRunSummary.TargetResourceType targetResourceType, String targetResourceId, MaintenanceRunSummary.MaintenanceType maintenanceType, String patchId, MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype, Boolean isDstFileUpdateEnabled, String peerMaintenanceRunId, List<String> peerMaintenanceRunIds, MaintenanceRunSummary.PatchingMode patchingMode, Integer patchFailureCount, String targetDbServerVersion, String targetStorageServerVersion, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, Integer currentCustomActionTimeoutInMins, MaintenanceRunSummary.PatchingStatus patchingStatus, Date patchingStartTime, Date patchingEndTime, EstimatedPatchingTime estimatedPatchingTime, String currentPatchingComponent, Date estimatedComponentPatchingStartTime, Boolean isMaintenanceRunGranular, Integer totalTimeTakenInMins, String databaseSoftwareImageId)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MaintenanceRunSummary.Builder
builder()
Create a new builder.boolean
equals(Object o)
String
getCompartmentId()
The OCID of the compartment.Integer
getCurrentCustomActionTimeoutInMins()
Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.String
getCurrentPatchingComponent()
The name of the current infrastruture component that is getting patched.Integer
getCustomActionTimeoutInMins()
Determines the amount of time the system will wait before the start of each database server patching operation.String
getDatabaseSoftwareImageId()
The Autonomous Database Software Image OCIDString
getDescription()
Description of the maintenance run.String
getDisplayName()
The user-friendly name for the maintenance run.Date
getEstimatedComponentPatchingStartTime()
The estimated start time of the next infrastruture component patching operation.EstimatedPatchingTime
getEstimatedPatchingTime()
String
getId()
The OCID of the maintenance run.Boolean
getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.Boolean
getIsDstFileUpdateEnabled()
Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database.Boolean
getIsMaintenanceRunGranular()
If FALSE, the maintenance run doesn’t support granular maintenance.String
getLifecycleDetails()
Additional information about the current lifecycle state.MaintenanceRunSummary.LifecycleState
getLifecycleState()
The current state of the maintenance run.MaintenanceRunSummary.MaintenanceSubtype
getMaintenanceSubtype()
Maintenance sub-type.MaintenanceRunSummary.MaintenanceType
getMaintenanceType()
Maintenance type.Integer
getPatchFailureCount()
Contain the patch failure count.String
getPatchId()
The unique identifier of the patch.Date
getPatchingEndTime()
The time when the patching operation ended.MaintenanceRunSummary.PatchingMode
getPatchingMode()
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.Date
getPatchingStartTime()
The time when the patching operation started.MaintenanceRunSummary.PatchingStatus
getPatchingStatus()
The status of the patching operation.String
getPeerMaintenanceRunId()
The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.List<String>
getPeerMaintenanceRunIds()
The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.String
getTargetDbServerVersion()
The target software version for the database server patching operation.String
getTargetResourceId()
The ID of the target resource on which the maintenance run occurs.MaintenanceRunSummary.TargetResourceType
getTargetResourceType()
The type of the target resource on which the maintenance run occurs.String
getTargetStorageServerVersion()
The target Cell version that is to be patched to.Date
getTimeEnded()
The date and time the maintenance run was completed.Date
getTimeScheduled()
The date and time the maintenance run is scheduled to occur.Date
getTimeStarted()
The date and time the maintenance run starts.Integer
getTotalTimeTakenInMins()
The total time taken by corresponding resource activity in minutes.int
hashCode()
MaintenanceRunSummary.Builder
toBuilder()
String
toString()
String
toString(boolean includeByteArrayContents)
Return a string representation of the object.
-
-
-
Constructor Detail
-
MaintenanceRunSummary
@Deprecated @ConstructorProperties({"id","compartmentId","displayName","description","lifecycleState","lifecycleDetails","timeScheduled","timeStarted","timeEnded","targetResourceType","targetResourceId","maintenanceType","patchId","maintenanceSubtype","isDstFileUpdateEnabled","peerMaintenanceRunId","peerMaintenanceRunIds","patchingMode","patchFailureCount","targetDbServerVersion","targetStorageServerVersion","isCustomActionTimeoutEnabled","customActionTimeoutInMins","currentCustomActionTimeoutInMins","patchingStatus","patchingStartTime","patchingEndTime","estimatedPatchingTime","currentPatchingComponent","estimatedComponentPatchingStartTime","isMaintenanceRunGranular","totalTimeTakenInMins","databaseSoftwareImageId"}) public MaintenanceRunSummary(String id, String compartmentId, String displayName, String description, MaintenanceRunSummary.LifecycleState lifecycleState, String lifecycleDetails, Date timeScheduled, Date timeStarted, Date timeEnded, MaintenanceRunSummary.TargetResourceType targetResourceType, String targetResourceId, MaintenanceRunSummary.MaintenanceType maintenanceType, String patchId, MaintenanceRunSummary.MaintenanceSubtype maintenanceSubtype, Boolean isDstFileUpdateEnabled, String peerMaintenanceRunId, List<String> peerMaintenanceRunIds, MaintenanceRunSummary.PatchingMode patchingMode, Integer patchFailureCount, String targetDbServerVersion, String targetStorageServerVersion, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, Integer currentCustomActionTimeoutInMins, MaintenanceRunSummary.PatchingStatus patchingStatus, Date patchingStartTime, Date patchingEndTime, EstimatedPatchingTime estimatedPatchingTime, String currentPatchingComponent, Date estimatedComponentPatchingStartTime, Boolean isMaintenanceRunGranular, Integer totalTimeTakenInMins, String databaseSoftwareImageId)
Deprecated.
-
-
Method Detail
-
builder
public static MaintenanceRunSummary.Builder builder()
Create a new builder.
-
toBuilder
public MaintenanceRunSummary.Builder toBuilder()
-
getId
public String getId()
The OCID of the maintenance run.- Returns:
- the value
-
getCompartmentId
public String getCompartmentId()
The OCID of the compartment.- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The user-friendly name for the maintenance run.- Returns:
- the value
-
getDescription
public String getDescription()
Description of the maintenance run.- Returns:
- the value
-
getLifecycleState
public MaintenanceRunSummary.LifecycleState getLifecycleState()
The current state of the maintenance run.For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
- Returns:
- the value
-
getLifecycleDetails
public String getLifecycleDetails()
Additional information about the current lifecycle state.- Returns:
- the value
-
getTimeScheduled
public Date getTimeScheduled()
The date and time the maintenance run is scheduled to occur.- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The date and time the maintenance run starts.- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The date and time the maintenance run was completed.- Returns:
- the value
-
getTargetResourceType
public MaintenanceRunSummary.TargetResourceType getTargetResourceType()
The type of the target resource on which the maintenance run occurs.- Returns:
- the value
-
getTargetResourceId
public String getTargetResourceId()
The ID of the target resource on which the maintenance run occurs.- Returns:
- the value
-
getMaintenanceType
public MaintenanceRunSummary.MaintenanceType getMaintenanceType()
Maintenance type.- Returns:
- the value
-
getPatchId
public String getPatchId()
The unique identifier of the patch.The identifier string includes the patch type, the Oracle Database version, and the patch creation date (using the format YYMMDD). For example, the identifier ru_patch_19.9.0.0_201030 is used for an RU patch for Oracle Database 19.9.0.0 that was released October 30, 2020.
- Returns:
- the value
-
getMaintenanceSubtype
public MaintenanceRunSummary.MaintenanceSubtype getMaintenanceSubtype()
Maintenance sub-type.- Returns:
- the value
-
getIsDstFileUpdateEnabled
public Boolean getIsDstFileUpdateEnabled()
Indicates if an automatic DST Time Zone file update is enabled for the Autonomous Container Database.If enabled along with Release Update, patching will be done in a Non-Rolling manner.
- Returns:
- the value
-
getPeerMaintenanceRunId
public String getPeerMaintenanceRunId()
The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.- Returns:
- the value
-
getPeerMaintenanceRunIds
public List<String> getPeerMaintenanceRunIds()
The list of OCIDs for the maintenance runs associated with their Autonomous Data Guard peer container databases.- Returns:
- the value
-
getPatchingMode
public MaintenanceRunSummary.PatchingMode getPatchingMode()
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.Default value is ROLLING.
IMPORTANT*: Non-rolling infrastructure patching involves system down time. See [Oracle-Managed Infrastructure Maintenance Updates](https://docs.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.
- Returns:
- the value
-
getPatchFailureCount
public Integer getPatchFailureCount()
Contain the patch failure count.- Returns:
- the value
-
getTargetDbServerVersion
public String getTargetDbServerVersion()
The target software version for the database server patching operation.- Returns:
- the value
-
getTargetStorageServerVersion
public String getTargetStorageServerVersion()
The target Cell version that is to be patched to.- Returns:
- the value
-
getIsCustomActionTimeoutEnabled
public Boolean getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.- Returns:
- the value
-
getCustomActionTimeoutInMins
public Integer getCustomActionTimeoutInMins()
Determines the amount of time the system will wait before the start of each database server patching operation.Specify a number of minutes, from 15 to 120.
- Returns:
- the value
-
getCurrentCustomActionTimeoutInMins
public Integer getCurrentCustomActionTimeoutInMins()
Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.- Returns:
- the value
-
getPatchingStatus
public MaintenanceRunSummary.PatchingStatus getPatchingStatus()
The status of the patching operation.- Returns:
- the value
-
getPatchingStartTime
public Date getPatchingStartTime()
The time when the patching operation started.- Returns:
- the value
-
getPatchingEndTime
public Date getPatchingEndTime()
The time when the patching operation ended.- Returns:
- the value
-
getEstimatedPatchingTime
public EstimatedPatchingTime getEstimatedPatchingTime()
-
getCurrentPatchingComponent
public String getCurrentPatchingComponent()
The name of the current infrastruture component that is getting patched.- Returns:
- the value
-
getEstimatedComponentPatchingStartTime
public Date getEstimatedComponentPatchingStartTime()
The estimated start time of the next infrastruture component patching operation.- Returns:
- the value
-
getIsMaintenanceRunGranular
public Boolean getIsMaintenanceRunGranular()
If FALSE, the maintenance run doesn’t support granular maintenance.- Returns:
- the value
-
getTotalTimeTakenInMins
public Integer getTotalTimeTakenInMins()
The total time taken by corresponding resource activity in minutes.- Returns:
- the value
-
getDatabaseSoftwareImageId
public String getDatabaseSoftwareImageId()
The Autonomous Database Software Image OCID- 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
-
-