@Generated(value="OracleSDKGenerator", comments="API Version: 20220125") public final class DrPlanStepExecution extends com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
The details of a step execution in a DR plan execution.
Note: Objects should always be created or deserialized using the DrPlanStepExecution.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 DrPlanStepExecution.Builder
, which maintain a
set of all explicitly set fields called DrPlanStepExecution.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 |
DrPlanStepExecution.Builder |
EXPLICITLY_SET_FILTER_NAME, EXPLICITLY_SET_PROPERTY_NAME
Constructor and Description |
---|
DrPlanStepExecution(String stepId,
DrPlanStepType type,
String groupId,
String displayName,
ObjectStorageLogLocation logLocation,
DrPlanStepExecutionStatus status,
String statusDetails,
Date timeStarted,
Date timeEnded,
Integer executionDurationInSec)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static DrPlanStepExecution.Builder |
builder()
Create a new builder.
|
boolean |
equals(Object o) |
String |
getDisplayName()
The display name of the step execution.
|
Integer |
getExecutionDurationInSec()
The total duration in seconds taken to complete the step execution.
|
String |
getGroupId()
The unique id of the group to which this step belongs.
|
ObjectStorageLogLocation |
getLogLocation() |
DrPlanStepExecutionStatus |
getStatus()
The status of the step execution.
|
String |
getStatusDetails()
Additional details on the step execution status.
|
String |
getStepId()
The unique id of the step.
|
Date |
getTimeEnded()
The time when execution ended.
|
Date |
getTimeStarted()
The time when step execution began.
|
DrPlanStepType |
getType()
The step type.
|
int |
hashCode() |
DrPlanStepExecution.Builder |
toBuilder() |
String |
toString() |
String |
toString(boolean includeByteArrayContents)
Return a string representation of the object.
|
markPropertyAsExplicitlySet, wasPropertyExplicitlySet
@Deprecated @ConstructorProperties(value={"stepId","type","groupId","displayName","logLocation","status","statusDetails","timeStarted","timeEnded","executionDurationInSec"}) public DrPlanStepExecution(String stepId, DrPlanStepType type, String groupId, String displayName, ObjectStorageLogLocation logLocation, DrPlanStepExecutionStatus status, String statusDetails, Date timeStarted, Date timeEnded, Integer executionDurationInSec)
public static DrPlanStepExecution.Builder builder()
Create a new builder.
public DrPlanStepExecution.Builder toBuilder()
public String getStepId()
The unique id of the step. Must not be modified by user.
Example: sgid1.step..uniqueID
public DrPlanStepType getType()
The step type.
public String getGroupId()
The unique id of the group to which this step belongs. Must not be modified by user.
Example: sgid1.group..uniqueID
public String getDisplayName()
The display name of the step execution.
Example: DATABASE_SWITCHOVER
public ObjectStorageLogLocation getLogLocation()
public DrPlanStepExecutionStatus getStatus()
The status of the step execution.
public String getStatusDetails()
Additional details on the step execution status.
Example: This step failed to complete due to a timeout
public Date getTimeStarted()
The time when step execution began. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
public Date getTimeEnded()
The time when execution ended. An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
public Integer getExecutionDurationInSec()
The total duration in seconds taken to complete the step execution.
Example: 35
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.