Interface ResourceTargetConfigurationForOracledbDatabase.Builder

  • Method Details

    • fullBackupAfterDays

      ResourceTargetConfigurationForOracledbDatabase.Builder fullBackupAfterDays(Integer fullBackupAfterDays)

      A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.

      Parameters:
      fullBackupAfterDays - A required threshold, in days, that decides whether a backup job takes a full or an incremental backup. When an on-demand or scheduled backup job runs, the job takes a full backup if the target's most recent full backup is older than this many days; otherwise it takes an incremental backup, falling back to a full backup if an incremental is not possible.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fullBackupAfterScheduleExpression

      ResourceTargetConfigurationForOracledbDatabase.Builder fullBackupAfterScheduleExpression(String fullBackupAfterScheduleExpression)

      An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.

      Parameters:
      fullBackupAfterScheduleExpression - An optional schedule expression that decides whether a backup job takes a full or an incremental backup. When a backup job runs, the job takes a full backup if none has been taken since the most recent point this expression matched. It is evaluated alongside FullBackupAfterDays; if either matches, a full backup is taken. This is not a backup schedule and does not start backup jobs. Only cron expressions are supported. Example: cron(0 3 ? * SUN *) for every Sunday at 03:00 UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupChannelCount

      ResourceTargetConfigurationForOracledbDatabase.Builder backupChannelCount(Integer backupChannelCount)

      The number of backup channels to use for the Oracle database.

      Parameters:
      backupChannelCount - The number of backup channels to use for the Oracle database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupNodeHostName

      ResourceTargetConfigurationForOracledbDatabase.Builder backupNodeHostName(String backupNodeHostName)

      Hostname of the node to use as the backup leader.

      Parameters:
      backupNodeHostName - Hostname of the node to use as the backup leader.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logBackupFrequencyInMinutes

      ResourceTargetConfigurationForOracledbDatabase.Builder logBackupFrequencyInMinutes(Integer logBackupFrequencyInMinutes)

      If log backup is enabled, the frequency for log backup in minutes

      Parameters:
      logBackupFrequencyInMinutes - If log backup is enabled, the frequency for log backup in minutes
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • logRetentionOnHostInHours

      ResourceTargetConfigurationForOracledbDatabase.Builder logRetentionOnHostInHours(Integer logRetentionOnHostInHours)

      The log retention period for the host in hours.

      Parameters:
      logRetentionOnHostInHours - The log retention period for the host in hours.
      Returns:
      Returns a reference to this object so that method calls can be chained together.