Interface AwsBackupRecoveryPointDetails.Builder

  • Method Details

    • backupSizeInBytes

      AwsBackupRecoveryPointDetails.Builder backupSizeInBytes(Long backupSizeInBytes)

      The size, in bytes, of a backup.

      Parameters:
      backupSizeInBytes - The size, in bytes, of a backup.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupVaultArn

      AwsBackupRecoveryPointDetails.Builder backupVaultArn(String backupVaultArn)

      An Amazon Resource Name (ARN) that uniquely identifies a backup vault.

      Parameters:
      backupVaultArn - An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • backupVaultName

      AwsBackupRecoveryPointDetails.Builder backupVaultName(String backupVaultName)

      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 lowercase letters, numbers, and hyphens.

      Parameters:
      backupVaultName - 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 lowercase letters, numbers, and hyphens.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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

      A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

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

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

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

      AwsBackupRecoveryPointDetails.Builder completionDate(String completionDate)

      The date and time that a job to create a recovery point is completed, in Unix format and UTC. The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      completionDate - The date and time that a job to create a recovery point is completed, in Unix format and UTC. The value of CompletionDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

      Parameters:
      createdBy - Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdBy

      Contains identifying information about the creation of a recovery point, including the BackupPlanArn, BackupPlanId, BackupPlanVersion, and BackupRuleId of the backup plan that is used to create it.

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

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

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

      AwsBackupRecoveryPointDetails.Builder creationDate(String creationDate)

      The date and time a recovery point is created, in Unix format and UTC. The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      creationDate - The date and time a recovery point is created, in Unix format and UTC. The value of CreationDate is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionKeyArn

      AwsBackupRecoveryPointDetails.Builder encryptionKeyArn(String encryptionKeyArn)

      The ARN for the server-side encryption key that is used to protect your backups.

      Parameters:
      encryptionKeyArn - The ARN for the server-side encryption key that is used to protect your backups.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • iamRoleArn

      Specifies the IAM role ARN used to create the target recovery point

      Parameters:
      iamRoleArn - Specifies the IAM role ARN used to create the target recovery point
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isEncrypted

      A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.

      Parameters:
      isEncrypted - A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastRestoreTime

      AwsBackupRecoveryPointDetails.Builder lastRestoreTime(String lastRestoreTime)

      The date and time that a recovery point was last restored, in Unix format and UTC. The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.

      Parameters:
      lastRestoreTime - The date and time that a recovery point was last restored, in Unix format and UTC. The value of LastRestoreTime is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
      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

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

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

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

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

      AwsBackupRecoveryPointDetails.Builder recoveryPointArn(String recoveryPointArn)

      An ARN that uniquely identifies a recovery point.

      Parameters:
      recoveryPointArn - An ARN that uniquely identifies a recovery point.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceArn

      An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.

      Parameters:
      resourceArn - An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • resourceType

      AwsBackupRecoveryPointDetails.Builder resourceType(String resourceType)

      The type of Amazon Web Services resource saved as a recovery point, such as an Amazon EBS volume or an Amazon RDS database.

      Parameters:
      resourceType - The type of Amazon Web Services resource saved as a recovery point, such as an Amazon EBS volume or an Amazon RDS database.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceBackupVaultArn

      AwsBackupRecoveryPointDetails.Builder sourceBackupVaultArn(String sourceBackupVaultArn)

      The ARN for the backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account, this value will be null.

      Parameters:
      sourceBackupVaultArn - The ARN for the backup vault where the recovery point was originally copied from. If the recovery point is restored to the same account, this value will be null.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      A status code specifying the state of the recovery point. Valid values are as follows:

      • COMPLETED

      • DELETING

      • EXPIRED

      • PARTIAL

      Parameters:
      status - A status code specifying the state of the recovery point. Valid values are as follows:

      • COMPLETED

      • DELETING

      • EXPIRED

      • PARTIAL

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

      AwsBackupRecoveryPointDetails.Builder statusMessage(String statusMessage)

      A message explaining the reason of the recovery point deletion failure.

      Parameters:
      statusMessage - A message explaining the reason of the recovery point deletion failure.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • storageClass

      AwsBackupRecoveryPointDetails.Builder storageClass(String storageClass)

      Specifies the storage class of the recovery point. Valid values are as follows:

      • COLD

      • DELETED

      • WARM

      Parameters:
      storageClass - Specifies the storage class of the recovery point. Valid values are as follows:

      • COLD

      • DELETED

      • WARM

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