Class DrPlanGroupExecution.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • groupId

        public DrPlanGroupExecution.Builder groupId​(String groupId)
        The unique id of the group.

        Must not be modified by user.

        Example: sgid1.group..uniqueID

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

        public DrPlanGroupExecution.Builder displayName​(String displayName)
        The display name of the group execution.

        Example: DATABASE_SWITCHOVER

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

        public DrPlanGroupExecution.Builder statusDetails​(String statusDetails)
        Additional details on the group execution status.

        Example: A total of [3] steps failed in the group

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

        public DrPlanGroupExecution.Builder timeStarted​(Date timeStarted)
        The time when group execution began.

        An RFC3339 formatted datetime string.

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

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

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

        An RFC3339 formatted datetime string.

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

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

        public DrPlanGroupExecution.Builder executionDurationInSec​(Integer executionDurationInSec)
        The total duration in seconds taken to complete group execution.

        Example: 120

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