Interface AwsBackupBackupPlanRuleCopyActionsDetails.Builder

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

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

    • destinationBackupVaultArn

      AwsBackupBackupPlanRuleCopyActionsDetails.Builder destinationBackupVaultArn(String destinationBackupVaultArn)

      An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.

      Parameters:
      destinationBackupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies the destination backup vault for the copied backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 do not 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 do not 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.
    • 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 do not 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.

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

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

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