@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class MaintenanceRun extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
Details of a maintenance run.
Note: Objects should always be created or deserialized using the MaintenanceRun.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 MaintenanceRun.Builder
, which maintain a
set of all explicitly set fields called MaintenanceRun.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 |
MaintenanceRun.Builder |
static class |
MaintenanceRun.LifecycleState
The current state of the maintenance run.
|
static class |
MaintenanceRun.MaintenanceSubtype
Maintenance sub-type.
|
static class |
MaintenanceRun.MaintenanceType
Maintenance type.
|
static class |
MaintenanceRun.PatchingMode
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
|
static class |
MaintenanceRun.PatchingStatus
The status of the patching operation.
|
static class |
MaintenanceRun.TargetResourceType
The type of the target resource on which the maintenance run occurs.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
MaintenanceRun(String id,
String compartmentId,
String displayName,
String description,
MaintenanceRun.LifecycleState lifecycleState,
String lifecycleDetails,
Date timeScheduled,
Date timeStarted,
Date timeEnded,
MaintenanceRun.TargetResourceType targetResourceType,
String targetResourceId,
MaintenanceRun.MaintenanceType maintenanceType,
String patchId,
MaintenanceRun.MaintenanceSubtype maintenanceSubtype,
Boolean isDstFileUpdateEnabled,
String peerMaintenanceRunId,
MaintenanceRun.PatchingMode patchingMode,
Integer patchFailureCount,
String targetDbServerVersion,
String targetStorageServerVersion,
Boolean isCustomActionTimeoutEnabled,
Integer customActionTimeoutInMins,
Integer currentCustomActionTimeoutInMins,
MaintenanceRun.PatchingStatus patchingStatus,
Date patchingStartTime,
Date patchingEndTime,
EstimatedPatchingTime estimatedPatchingTime,
String currentPatchingComponent,
Date estimatedComponentPatchingStartTime,
Boolean isMaintenanceRunGranular,
Integer totalTimeTakenInMins,
String databaseSoftwareImageId)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static MaintenanceRun.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
OCID
|
String |
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.
|
MaintenanceRun.LifecycleState |
getLifecycleState()
The current state of the maintenance run.
|
MaintenanceRun.MaintenanceSubtype |
getMaintenanceSubtype()
Maintenance sub-type.
|
MaintenanceRun.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.
|
MaintenanceRun.PatchingMode |
getPatchingMode()
Cloud Exadata infrastructure node patching method, either “ROLLING” or “NONROLLING”.
|
Date |
getPatchingStartTime()
The time when the patching operation started.
|
MaintenanceRun.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.
|
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.
|
MaintenanceRun.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() |
MaintenanceRun.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"id","compartmentId","displayName","description","lifecycleState","lifecycleDetails","timeScheduled","timeStarted","timeEnded","targetResourceType","targetResourceId","maintenanceType","patchId","maintenanceSubtype","isDstFileUpdateEnabled","peerMaintenanceRunId","patchingMode","patchFailureCount","targetDbServerVersion","targetStorageServerVersion","isCustomActionTimeoutEnabled","customActionTimeoutInMins","currentCustomActionTimeoutInMins","patchingStatus","patchingStartTime","patchingEndTime","estimatedPatchingTime","currentPatchingComponent","estimatedComponentPatchingStartTime","isMaintenanceRunGranular","totalTimeTakenInMins","databaseSoftwareImageId"}) public MaintenanceRun(String id, String compartmentId, String displayName, String description, MaintenanceRun.LifecycleState lifecycleState, String lifecycleDetails, Date timeScheduled, Date timeStarted, Date timeEnded, MaintenanceRun.TargetResourceType targetResourceType, String targetResourceId, MaintenanceRun.MaintenanceType maintenanceType, String patchId, MaintenanceRun.MaintenanceSubtype maintenanceSubtype, Boolean isDstFileUpdateEnabled, String peerMaintenanceRunId, MaintenanceRun.PatchingMode patchingMode, Integer patchFailureCount, String targetDbServerVersion, String targetStorageServerVersion, Boolean isCustomActionTimeoutEnabled, Integer customActionTimeoutInMins, Integer currentCustomActionTimeoutInMins, MaintenanceRun.PatchingStatus patchingStatus, Date patchingStartTime, Date patchingEndTime, EstimatedPatchingTime estimatedPatchingTime, String currentPatchingComponent, Date estimatedComponentPatchingStartTime, Boolean isMaintenanceRunGranular, Integer totalTimeTakenInMins, String databaseSoftwareImageId)
public static MaintenanceRun.Builder builder()
Create a new builder.
public MaintenanceRun.Builder toBuilder()
public String getId()
The OCID of the maintenance run.
public String getCompartmentId()
The OCID of the compartment.
public String getDisplayName()
The user-friendly name for the maintenance run.
public String getDescription()
Description of the maintenance run.
public MaintenanceRun.LifecycleState getLifecycleState()
The current state of the maintenance run. For Autonomous Database Serverless instances, valid states are IN_PROGRESS, SUCCEEDED, and FAILED.
public String getLifecycleDetails()
Additional information about the current lifecycle state.
public Date getTimeScheduled()
The date and time the maintenance run is scheduled to occur.
public Date getTimeStarted()
The date and time the maintenance run starts.
public Date getTimeEnded()
The date and time the maintenance run was completed.
public MaintenanceRun.TargetResourceType getTargetResourceType()
The type of the target resource on which the maintenance run occurs.
public String getTargetResourceId()
The ID of the target resource on which the maintenance run occurs.
public MaintenanceRun.MaintenanceType getMaintenanceType()
Maintenance type.
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.
public MaintenanceRun.MaintenanceSubtype getMaintenanceSubtype()
Maintenance sub-type.
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.
public String getPeerMaintenanceRunId()
The OCID of the maintenance run for the Autonomous Data Guard association’s peer container database.
public MaintenanceRun.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.cloud.oracle.com/iaas/Content/Database/Concepts/examaintenance.htm#Oracle) for more information.
public Integer getPatchFailureCount()
Contain the patch failure count.
public String getTargetDbServerVersion()
The target software version for the database server patching operation.
public String getTargetStorageServerVersion()
The target Cell version that is to be patched to.
public Boolean getIsCustomActionTimeoutEnabled()
If true, enables the configuration of a custom action timeout (waiting period) between database servers patching operations.
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.
public Integer getCurrentCustomActionTimeoutInMins()
Extend current custom action timeout between the current database servers during waiting state, from 0 (zero) to 30 minutes.
public MaintenanceRun.PatchingStatus getPatchingStatus()
The status of the patching operation.
public Date getPatchingStartTime()
The time when the patching operation started.
public Date getPatchingEndTime()
The time when the patching operation ended.
public EstimatedPatchingTime getEstimatedPatchingTime()
public String getCurrentPatchingComponent()
The name of the current infrastruture component that is getting patched.
public Date getEstimatedComponentPatchingStartTime()
The estimated start time of the next infrastruture component patching operation.
public Boolean getIsMaintenanceRunGranular()
If FALSE
, the maintenance run doesn’t support granular maintenance.
public Integer getTotalTimeTakenInMins()
The total time taken by corresponding resource activity in minutes.
public String getDatabaseSoftwareImageId()
The Autonomous Database Software Image OCID
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.