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.ExplicitlySetBmcModelThe 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 classDrPlanStepExecution.Builder
-
Constructor Summary
Constructors Constructor Description DrPlanStepExecution(String stepId, DrPlanStepType type, String groupId, String displayName, String typeDisplayName, 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.Builderbuilder()Create a new builder.booleanequals(Object o)StringgetDisplayName()The display name of the step execution.IntegergetExecutionDurationInSec()The total duration in seconds taken to complete the step execution.StringgetGroupId()The unique id of the group to which this step belongs.ObjectStorageLogLocationgetLogLocation()DrPlanStepExecutionStatusgetStatus()The status of the step execution.StringgetStatusDetails()Additional details on the step execution status.StringgetStepId()The unique id of the step.DategetTimeEnded()The time when execution ended.DategetTimeStarted()The time when step execution began.DrPlanStepTypegetType()The step type.StringgetTypeDisplayName()The display name of the DR Plan step type.inthashCode()DrPlanStepExecution.BuildertoBuilder()StringtoString()StringtoString(boolean includeByteArrayContents)Return a string representation of the object.
-
-
-
Constructor Detail
-
DrPlanStepExecution
@Deprecated @ConstructorProperties({"stepId","type","groupId","displayName","typeDisplayName","logLocation","status","statusDetails","timeStarted","timeEnded","executionDurationInSec"}) public DrPlanStepExecution(String stepId, DrPlanStepType type, String groupId, String displayName, String typeDisplayName, 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
-
getTypeDisplayName
public String getTypeDisplayName()
The display name of the DR Plan step type.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:
toStringin 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:
equalsin classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
-
-