Class DrPlanGroup.Builder

  • Enclosing class:
    DrPlanGroup

    public static class DrPlanGroup.Builder
    extends Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • id

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

        Must not be modified by user.

        Example: sgid1.group..uniqueID

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

        public DrPlanGroup.Builder refreshStatus​(DrPlanGroupRefreshStatus refreshStatus)
        The DR plan group refresh status.

        Example: GROUP_MODIFIED

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

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

        Example: DATABASE_SWITCHOVER

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

        public DrPlanGroup.Builder isPauseEnabled​(Boolean isPauseEnabled)
        A flag indicating whether this group should be enabled for execution.

        This flag is only applicable to the USER_DEFINED_PAUSE group. The flag should be null for the remaining group types.

        Example: true

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