Interface BackupPlan.Builder

  • Method Details

    • backupPlanName

      BackupPlan.Builder backupPlanName(String backupPlanName)

      The display name of a backup plan. Must contain only alphanumeric or '-_.' special characters.

      If this is set in the console, it can contain 1 to 50 characters; if this is set through CLI or API, it can contain 1 to 200 characters.

      Parameters:
      backupPlanName - The display name of a backup plan. Must contain only alphanumeric or '-_.' special characters.

      If this is set in the console, it can contain 1 to 50 characters; if this is set through CLI or API, it can contain 1 to 200 characters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.

      Parameters:
      rules - An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      BackupPlan.Builder rules(BackupRule... rules)

      An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.

      Parameters:
      rules - An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rules

      An array of BackupRule objects, each of which specifies a scheduled task that is used to back up a selection of resources.

      This is a convenience method that creates an instance of the BackupRule.Builder avoiding the need to create one manually via BackupRule.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to rules(List<BackupRule>).

      Parameters:
      rules - a consumer that will call methods on BackupRule.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • advancedBackupSettings

      BackupPlan.Builder advancedBackupSettings(Collection<AdvancedBackupSetting> advancedBackupSettings)

      Contains a list of BackupOptions for each resource type.

      Parameters:
      advancedBackupSettings - Contains a list of BackupOptions for each resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advancedBackupSettings

      BackupPlan.Builder advancedBackupSettings(AdvancedBackupSetting... advancedBackupSettings)

      Contains a list of BackupOptions for each resource type.

      Parameters:
      advancedBackupSettings - Contains a list of BackupOptions for each resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • advancedBackupSettings

      BackupPlan.Builder advancedBackupSettings(Consumer<AdvancedBackupSetting.Builder>... advancedBackupSettings)

      Contains a list of BackupOptions for each resource type.

      This is a convenience method that creates an instance of the AdvancedBackupSetting.Builder avoiding the need to create one manually via AdvancedBackupSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to advancedBackupSettings(List<AdvancedBackupSetting>).

      Parameters:
      advancedBackupSettings - a consumer that will call methods on AdvancedBackupSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • scanSettings

      BackupPlan.Builder scanSettings(Collection<ScanSetting> scanSettings)

      Contains your scanning configuration for the backup plan and includes the Malware scanner, your selected resources, and scanner role.

      Parameters:
      scanSettings - Contains your scanning configuration for the backup plan and includes the Malware scanner, your selected resources, and scanner role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanSettings

      BackupPlan.Builder scanSettings(ScanSetting... scanSettings)

      Contains your scanning configuration for the backup plan and includes the Malware scanner, your selected resources, and scanner role.

      Parameters:
      scanSettings - Contains your scanning configuration for the backup plan and includes the Malware scanner, your selected resources, and scanner role.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • scanSettings

      BackupPlan.Builder scanSettings(Consumer<ScanSetting.Builder>... scanSettings)

      Contains your scanning configuration for the backup plan and includes the Malware scanner, your selected resources, and scanner role.

      This is a convenience method that creates an instance of the ScanSetting.Builder avoiding the need to create one manually via ScanSetting.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to scanSettings(List<ScanSetting>).

      Parameters:
      scanSettings - a consumer that will call methods on ScanSetting.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: