Interface BackupPlan.Builder

All Superinterfaces:
Buildable, CopyableBuilder<BackupPlan.Builder,BackupPlan>, SdkBuilder<BackupPlan.Builder,BackupPlan>, SdkPojo
Enclosing class:
BackupPlan

public static interface BackupPlan.Builder extends SdkPojo, CopyableBuilder<BackupPlan.Builder,BackupPlan>
  • Method Details

    • backupPlanName

      BackupPlan.Builder backupPlanName(String backupPlanName)

      The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' characters.

      Parameters:
      backupPlanName - The display name of a backup plan. Must contain 1 to 50 alphanumeric or '-_.' 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: