Class DrPlanStep.Builder

  • Enclosing class:
    DrPlanStep

    public static class DrPlanStep.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

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

        Must not be modified by the user.

        Example: sgid1.step..uniqueID

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

        public DrPlanStep.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
      • memberId

        public DrPlanStep.Builder memberId​(String memberId)
        The OCID of the member associated with this step.

        Example: ocid1.database.oc1..uniqueID

        Parameters:
        memberId - the value to set
        Returns:
        this builder
      • refreshStatus

        public DrPlanStep.Builder refreshStatus​(DrPlanStepRefreshStatus refreshStatus)
        The DR plan step refresh status.

        Example: STEP_ADDED

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

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

        Example: DATABASE_SWITCHOVER

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

        public DrPlanStep.Builder timeout​(Integer timeout)
        The timeout in seconds for executing this step.

        Example: 600

        Parameters:
        timeout - the value to set
        Returns:
        this builder
      • isEnabled

        public DrPlanStep.Builder isEnabled​(Boolean isEnabled)
        A flag indicating whether this step should be enabled for execution.

        Example: true

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