Class 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 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).
    • Method Detail

      • 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
      • 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 class com.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 class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class com.oracle.bmc.http.client.internal.ExplicitlySetBmcModel