Interface DbBackupConfiguration.Builder

  • Method Details

    • type

      The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.

      Parameters:
      type - The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • type

      The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.

      Parameters:
      type - The type of automated backup schedule. Valid values are HOURLY, DAILY, WEEKLY, MONTHLY, CUSTOM_SCHEDULE, and CONTINUOUS.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • retentionDays

      DbBackupConfiguration.Builder retentionDays(Integer retentionDays)

      The number of days to retain automated backups. Valid values are 1 to 365.

      Parameters:
      retentionDays - The number of days to retain automated backups. Valid values are 1 to 365.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • enabled

      Specifies whether this backup configuration is enabled.

      Parameters:
      enabled - Specifies whether this backup configuration is enabled.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • customSchedule

      DbBackupConfiguration.Builder customSchedule(String customSchedule)

      A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.

      Parameters:
      customSchedule - A custom cron schedule expression for the backup. Required when type is CUSTOM_SCHEDULE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.