Class AwsBackupRecoveryPointDetails

    • Method Detail

      • backupSizeInBytes

        public final Long backupSizeInBytes()

        The size, in bytes, of a backup.

        Returns:
        The size, in bytes, of a backup.
      • backupVaultArn

        public final String backupVaultArn()

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

        Returns:
        An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
      • backupVaultName

        public final 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.

        Returns:
        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.
      • calculatedLifecycle

        public final AwsBackupRecoveryPointCalculatedLifecycleDetails calculatedLifecycle()

        A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.

        Returns:
        A CalculatedLifecycle object containing DeleteAt and MoveToColdStorageAt timestamps.
      • completionDate

        public final 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.

        Returns:
        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.
      • createdBy

        public final AwsBackupRecoveryPointCreatedByDetails 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:
        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.
      • creationDate

        public final 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.

        Returns:
        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.
      • encryptionKeyArn

        public final String encryptionKeyArn()

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

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

        public final String iamRoleArn()

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

        Returns:
        Specifies the IAM role ARN used to create the target recovery point
      • isEncrypted

        public final Boolean 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:
        A Boolean value that is returned as TRUE if the specified recovery point is encrypted, or FALSE if the recovery point is not encrypted.
      • lastRestoreTime

        public final 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.

        Returns:
        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.
      • lifecycle

        public final AwsBackupRecoveryPointLifecycleDetails 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:
        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
      • recoveryPointArn

        public final String recoveryPointArn()

        An ARN that uniquely identifies a recovery point.

        Returns:
        An ARN that uniquely identifies a recovery point.
      • resourceArn

        public final String resourceArn()

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

        Returns:
        An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
      • resourceType

        public final 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.

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

        public final 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.

        Returns:
        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.
      • status

        public final String status()

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

        • COMPLETED

        • DELETING

        • EXPIRED

        • PARTIAL

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

        • COMPLETED

        • DELETING

        • EXPIRED

        • PARTIAL

      • statusMessage

        public final String statusMessage()

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

        Returns:
        A message explaining the reason of the recovery point deletion failure.
      • storageClass

        public final String storageClass()

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

        • COLD

        • DELETED

        • WARM

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

        • COLD

        • DELETED

        • WARM

      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)