Class AwsBackupRecoveryPointDetails
- All Implemented Interfaces:
Serializable
,SdkPojo
,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:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal Long
The size, in bytes, of a backup.final String
An Amazon Resource Name (ARN) that uniquely identifies a backup vault.final String
The name of a logical container where backups are stored.builder()
ACalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.final String
The date and time that a job to create a recovery point is completed, in Unix format and UTC.Contains identifying information about the creation of a recovery point, including theBackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
of the backup plan that is used to create it.final String
The date and time a recovery point is created, in Unix format and UTC.final String
The ARN for the server-side encryption key that is used to protect your backups.final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
Specifies the IAM role ARN used to create the target recovery pointfinal Boolean
A Boolean value that is returned asTRUE
if the specified recovery point is encrypted, orFALSE
if the recovery point is not encrypted.final String
The date and time that a recovery point was last restored, in Unix format and UTC.The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.final String
An ARN that uniquely identifies a recovery point.final String
An ARN that uniquely identifies a resource.final String
The type of Amazon Web Services resource saved as a recovery point, such as an Amazon EBS volume or an Amazon RDS database.static Class
<? extends AwsBackupRecoveryPointDetails.Builder> final String
The ARN for the backup vault where the recovery point was originally copied from.final String
status()
A status code specifying the state of the recovery point.final String
A message explaining the reason of the recovery point deletion failure.final String
Specifies the storage class of the recovery point.Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
backupSizeInBytes
The size, in bytes, of a backup.
- Returns:
- The size, in bytes, of a backup.
-
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
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
A
CalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.- Returns:
- A
CalculatedLifecycle
object containingDeleteAt
andMoveToColdStorageAt
timestamps.
-
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
Contains identifying information about the creation of a recovery point, including the
BackupPlanArn
,BackupPlanId
,BackupPlanVersion
, andBackupRuleId
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
, andBackupRuleId
of the backup plan that is used to create it.
-
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
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
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
A Boolean value that is returned as
TRUE
if the specified recovery point is encrypted, orFALSE
if the recovery point is not encrypted.- Returns:
- A Boolean value that is returned as
TRUE
if the specified recovery point is encrypted, orFALSE
if the recovery point is not encrypted.
-
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
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
An ARN that uniquely identifies a recovery point.
- Returns:
- An ARN that uniquely identifies a recovery point.
-
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
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
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
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
A message explaining the reason of the recovery point deletion failure.
- Returns:
- A message explaining the reason of the recovery point deletion failure.
-
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 interfaceToCopyableBuilder<AwsBackupRecoveryPointDetails.Builder,
AwsBackupRecoveryPointDetails> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-