@Generated(value="OracleSDKGenerator", comments="API Version: 20160918") public final class MaintenanceRun extends ExplicitlySetBmcModel
Details of a maintenance run.
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
ExplicitlySetBmcModel.__explicitlySet__
. The hashCode()
and equals(Object)
methods are implemented to take
ExplicitlySetBmcModel.__explicitlySet__
into account. The constructor, on the other hand, does not set ExplicitlySetBmcModel.__explicitlySet__
(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.
|
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,
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)
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 |
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.
|
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.
|
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","peerMaintenanceRunId","patchingMode","patchFailureCount","targetDbServerVersion","targetStorageServerVersion","isCustomActionTimeoutEnabled","customActionTimeoutInMins","currentCustomActionTimeoutInMins","patchingStatus","patchingStartTime","patchingEndTime","estimatedPatchingTime","currentPatchingComponent","estimatedComponentPatchingStartTime"}) 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, 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)
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 on shared Exadata infrastructure, 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 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 String toString()
toString
in class 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 ExplicitlySetBmcModel
public int hashCode()
hashCode
in class ExplicitlySetBmcModel
Copyright © 2016–2022. All rights reserved.