Class DrPlanStepExecution
- java.lang.Object
-
- com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
- com.oracle.bmc.disasterrecovery.model.DrPlanStepExecution
-
@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 theDrPlanStepExecution.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 theDrPlanStepExecution.Builder
, which maintain a set of all explicitly set fields calledDrPlanStepExecution.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
DrPlanStepExecution.Builder
-
Constructor Summary
Constructors Constructor Description DrPlanStepExecution(String stepId, DrPlanStepType type, String groupId, String displayName, ObjectStorageLogLocation logLocation, DrPlanStepExecutionStatus status, String statusDetails, Date timeStarted, Date timeEnded, Integer executionDurationInSec)
Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
DrPlanStepExecution
@Deprecated @ConstructorProperties({"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)
Deprecated.
-
-
Method Detail
-
builder
public static DrPlanStepExecution.Builder builder()
Create a new builder.
-
toBuilder
public DrPlanStepExecution.Builder toBuilder()
-
getStepId
public String getStepId()
The unique id of the step.Must not be modified by user.
Example: sgid1.step..uniqueID
- Returns:
- the value
-
getType
public DrPlanStepType getType()
The step type.- Returns:
- the value
-
getGroupId
public String getGroupId()
The unique id of the group to which this step belongs.Must not be modified by user.
Example: sgid1.group..uniqueID
- Returns:
- the value
-
getDisplayName
public String getDisplayName()
The display name of the step execution.Example: DATABASE_SWITCHOVER
- Returns:
- the value
-
getLogLocation
public ObjectStorageLogLocation getLogLocation()
-
getStatus
public DrPlanStepExecutionStatus getStatus()
The status of the step execution.- Returns:
- the value
-
getStatusDetails
public String getStatusDetails()
Additional details on the step execution status.Example: This step failed to complete due to a timeout
- Returns:
- the value
-
getTimeStarted
public Date getTimeStarted()
The time when step execution began.An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
- Returns:
- the value
-
getTimeEnded
public Date getTimeEnded()
The time when execution ended.An RFC3339 formatted datetime string.
Example: 2019-03-29T09:36:42Z
- Returns:
- the value
-
getExecutionDurationInSec
public Integer getExecutionDurationInSec()
The total duration in seconds taken to complete the step execution.Example: 35
- 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
-
-