Interface UpdateRecoveryPointLifecycleResponse.Builder

  • Method Details

    • backupVaultArn

      UpdateRecoveryPointLifecycleResponse.Builder backupVaultArn(String backupVaultArn)

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

      Parameters:
      backupVaultArn - An ARN that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:backup-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

      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 can transition to cold storage are listed in 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 can transition to cold storage are listed in 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

      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 can transition to cold storage are listed in 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:
    • 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.
    • calculatedLifecycle

      default UpdateRecoveryPointLifecycleResponse.Builder calculatedLifecycle(Consumer<CalculatedLifecycle.Builder> calculatedLifecycle)

      A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

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

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

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