Interface UpdateRecoveryPointLifecycleResponse.Builder

    • Method Detail

      • backupVaultArn

        UpdateRecoveryPointLifecycleResponse.Builder backupVaultArn​(String backupVaultArn)

        An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.

        Parameters:
        backupVaultArn - An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • recoveryPointArn

        UpdateRecoveryPointLifecycleResponse.Builder recoveryPointArn​(String recoveryPointArn)

        An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45.

        Parameters:
        recoveryPointArn - An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45 .
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • lifecycle

        UpdateRecoveryPointLifecycleResponse.Builder lifecycle​(Lifecycle lifecycle)

        The 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.

        Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

        Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

        Parameters:
        lifecycle - The 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.

        Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

        Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

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

        default UpdateRecoveryPointLifecycleResponse.Builder lifecycle​(Consumer<Lifecycle.Builder> lifecycle)

        The 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.

        Backups transitioned to cold storage must be stored in cold storage for a minimum of 90 days. Therefore, the “retention” setting must be 90 days greater than the “transition to cold after days” setting. The “transition to cold after days” setting cannot be changed after a backup has been transitioned to cold.

        Resource types that are able to be transitioned to cold storage are listed in the "Lifecycle to cold storage" section of the Feature availability by resource table. Backup ignores this expression for other resource types.

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

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to lifecycle(Lifecycle).

        Parameters:
        lifecycle - a consumer that will call methods on Lifecycle.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        lifecycle(Lifecycle)
      • calculatedLifecycle

        UpdateRecoveryPointLifecycleResponse.Builder calculatedLifecycle​(CalculatedLifecycle calculatedLifecycle)

        A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

        Parameters:
        calculatedLifecycle - A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.
        Returns:
        Returns a reference to this object so that method calls can be chained together.