Interface AwsBackupBackupPlanRuleDetails.Builder

    • Method Detail

      • targetBackupVault

        AwsBackupBackupPlanRuleDetails.Builder targetBackupVault​(String targetBackupVault)

        The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.

        Parameters:
        targetBackupVault - The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the Amazon Web Services account used to create them and the Amazon Web Services Region where they are created. They consist of letters, numbers, and hyphens.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startWindowMinutes

        AwsBackupBackupPlanRuleDetails.Builder startWindowMinutes​(Long startWindowMinutes)

        A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.

        Parameters:
        startWindowMinutes - A value in minutes after a backup is scheduled before a job will be canceled if it doesn't start successfully.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • scheduleExpression

        AwsBackupBackupPlanRuleDetails.Builder scheduleExpression​(String scheduleExpression)

        A cron expression in UTC specifying when Backup initiates a backup job.

        Parameters:
        scheduleExpression - A cron expression in UTC specifying when Backup initiates a backup job.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleName

        AwsBackupBackupPlanRuleDetails.Builder ruleName​(String ruleName)

        A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' characters.

        Parameters:
        ruleName - A display name for a backup rule. Must contain 1 to 50 alphanumeric or '-_.' characters.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • ruleId

        AwsBackupBackupPlanRuleDetails.Builder ruleId​(String ruleId)

        Uniquely identifies a rule that is used to schedule the backup of a selection of resources.

        Parameters:
        ruleId - Uniquely identifies a rule that is used to schedule the backup of a selection of resources.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • enableContinuousBackup

        AwsBackupBackupPlanRuleDetails.Builder enableContinuousBackup​(Boolean enableContinuousBackup)

        Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).

        Parameters:
        enableContinuousBackup - Specifies whether Backup creates continuous backups capable of point-in-time restore (PITR).
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • completionWindowMinutes

        AwsBackupBackupPlanRuleDetails.Builder completionWindowMinutes​(Long completionWindowMinutes)

        A value in minutes after a backup job is successfully started before it must be completed, or it is canceled by Backup.

        Parameters:
        completionWindowMinutes - A value in minutes after a backup job is successfully started before it must be completed, or it is canceled by Backup.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • copyActions

        AwsBackupBackupPlanRuleDetails.Builder copyActions​(AwsBackupBackupPlanRuleCopyActionsDetails... copyActions)

        An array of CopyAction objects, each of which contains details of the copy operation.

        Parameters:
        copyActions - An array of CopyAction objects, each of which contains details of the copy operation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifecycle

        AwsBackupBackupPlanRuleDetails.Builder lifecycle​(AwsBackupBackupPlanLifecycleDetails lifecycle)

        Defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define. If you don't specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.

        Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.

        Parameters:
        lifecycle - Defines when a protected resource is transitioned to cold storage and when it expires. Backup transitions and expires backups automatically according to the lifecycle that you define. If you don't specify a lifecycle, Backup applies the lifecycle policy of the source backup to the destination backup.

        Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days.

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