Class DrPlanStepExecution.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • stepId

        public DrPlanStepExecution.Builder stepId​(String stepId)
        The unique id of the step.

        Must not be modified by user.

        Example: sgid1.step..uniqueID

        Parameters:
        stepId - the value to set
        Returns:
        this builder
      • groupId

        public DrPlanStepExecution.Builder groupId​(String groupId)
        The unique id of the group to which this step belongs.

        Must not be modified by user.

        Example: sgid1.group..uniqueID

        Parameters:
        groupId - the value to set
        Returns:
        this builder
      • displayName

        public DrPlanStepExecution.Builder displayName​(String displayName)
        The display name of the step execution.

        Example: DATABASE_SWITCHOVER

        Parameters:
        displayName - the value to set
        Returns:
        this builder
      • statusDetails

        public DrPlanStepExecution.Builder statusDetails​(String statusDetails)
        Additional details on the step execution status.

        Example: This step failed to complete due to a timeout

        Parameters:
        statusDetails - the value to set
        Returns:
        this builder
      • timeStarted

        public DrPlanStepExecution.Builder timeStarted​(Date timeStarted)
        The time when step execution began.

        An RFC3339 formatted datetime string.

        Example: 2019-03-29T09:36:42Z

        Parameters:
        timeStarted - the value to set
        Returns:
        this builder
      • timeEnded

        public DrPlanStepExecution.Builder timeEnded​(Date timeEnded)
        The time when execution ended.

        An RFC3339 formatted datetime string.

        Example: 2019-03-29T09:36:42Z

        Parameters:
        timeEnded - the value to set
        Returns:
        this builder
      • executionDurationInSec

        public DrPlanStepExecution.Builder executionDurationInSec​(Integer executionDurationInSec)
        The total duration in seconds taken to complete the step execution.

        Example: 35

        Parameters:
        executionDurationInSec - the value to set
        Returns:
        this builder