@Generated(value="OracleSDKGenerator", comments="API Version: 20220421") public class RemediationRunStage extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
A remediation run stage is one step of an remediation run. Each stage provides output logs and
has a specific type. The stages are: DETECT, RECOMMEND, VERIFY, and APPLY.
Note: Objects should always be created or deserialized using the 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 Builder
, which maintain a
set of all explicitly set fields called 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 |
RemediationRunStage.Status
The current status of a remediation run stage.
|
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Modifier | Constructor and Description |
---|---|
protected |
RemediationRunStage(RemediationRunStage.Status status,
Date timeCreated,
Date timeStarted,
Date timeFinished,
String summary,
String remediationRunId,
RemediationRunStageType previousStageType,
RemediationRunStageType nextStageType)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
RemediationRunStageType |
getNextStageType()
The next type of stage in the remediation run.
|
RemediationRunStageType |
getPreviousStageType()
The previous type of stage in the remediation run.
|
String |
getRemediationRunId()
The Oracle Cloud identifier
(OCID) of the
remediation run.
|
RemediationRunStage.Status |
getStatus()
The current status of a remediation run stage.
|
String |
getSummary()
Information about the current step within the stage.
|
Date |
getTimeCreated()
The creation date and time of the remediation run stage (formatted according to
RFC3339).
|
Date |
getTimeFinished()
The date and time of the finish of the remediation run stage (formatted according to
RFC3339).
|
Date |
getTimeStarted()
The date and time of the start of the remediation run stage (formatted according to
RFC3339).
|
int |
hashCode() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"status","timeCreated","timeStarted","timeFinished","summary","remediationRunId","previousStageType","nextStageType"}) protected RemediationRunStage(RemediationRunStage.Status status, Date timeCreated, Date timeStarted, Date timeFinished, String summary, String remediationRunId, RemediationRunStageType previousStageType, RemediationRunStageType nextStageType)
public RemediationRunStage.Status getStatus()
The current status of a remediation run stage.
public Date getTimeCreated()
The creation date and time of the remediation run stage (formatted according to RFC3339).
public Date getTimeStarted()
The date and time of the start of the remediation run stage (formatted according to RFC3339).
public Date getTimeFinished()
The date and time of the finish of the remediation run stage (formatted according to RFC3339).
public String getSummary()
Information about the current step within the stage.
public String getRemediationRunId()
The Oracle Cloud identifier (OCID) of the remediation run.
public RemediationRunStageType getPreviousStageType()
The previous type of stage in the remediation run.
public RemediationRunStageType getNextStageType()
The next type of stage in the remediation run.
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.