Class AwsBackupRecoveryPointDetails

java.lang.Object
software.amazon.awssdk.services.securityhub.model.AwsBackupRecoveryPointDetails
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<AwsBackupRecoveryPointDetails.Builder,AwsBackupRecoveryPointDetails>

@Generated("software.amazon.awssdk:codegen") public final class AwsBackupRecoveryPointDetails extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AwsBackupRecoveryPointDetails.Builder,AwsBackupRecoveryPointDetails>

Contains detailed information about the recovery points stored in an Backup backup vault. A backup, or recovery point, represents the content of a resource at a specified time.

See Also:
  • Method Details

    • 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

    • toBuilder

      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<AwsBackupRecoveryPointDetails.Builder,AwsBackupRecoveryPointDetails>
      Returns:
      a builder for type T
    • builder

      public static AwsBackupRecoveryPointDetails.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AwsBackupRecoveryPointDetails.Builder> serializableBuilderClass()
    • hashCode

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

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

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.