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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAwsBackupRecoveryPointDetails.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongbackupSizeInBytes()The size, in bytes, of a backup.StringbackupVaultArn()An Amazon Resource Name (ARN) that uniquely identifies a backup vault.StringbackupVaultName()The name of a logical container where backups are stored.static AwsBackupRecoveryPointDetails.Builderbuilder()AwsBackupRecoveryPointCalculatedLifecycleDetailscalculatedLifecycle()ACalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.StringcompletionDate()The date and time that a job to create a recovery point is completed, in Unix format and UTC.AwsBackupRecoveryPointCreatedByDetailscreatedBy()Contains identifying information about the creation of a recovery point, including theBackupPlanArn,BackupPlanId,BackupPlanVersion, andBackupRuleIdof the backup plan that is used to create it.StringcreationDate()The date and time a recovery point is created, in Unix format and UTC.StringencryptionKeyArn()The ARN for the server-side encryption key that is used to protect your backups.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringiamRoleArn()Specifies the IAM role ARN used to create the target recovery pointBooleanisEncrypted()A Boolean value that is returned asTRUEif the specified recovery point is encrypted, orFALSEif the recovery point is not encrypted.StringlastRestoreTime()The date and time that a recovery point was last restored, in Unix format and UTC.AwsBackupRecoveryPointLifecycleDetailslifecycle()The lifecycle defines when a protected resource is transitioned to cold storage and when it expires.StringrecoveryPointArn()An ARN that uniquely identifies a recovery point.StringresourceArn()An ARN that uniquely identifies a resource.StringresourceType()The type of Amazon Web Services resource saved as a recovery point, such as an Amazon EBS volume or an Amazon RDS database.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends AwsBackupRecoveryPointDetails.Builder>serializableBuilderClass()StringsourceBackupVaultArn()The ARN for the backup vault where the recovery point was originally copied from.Stringstatus()A status code specifying the state of the recovery point.StringstatusMessage()A message explaining the reason of the recovery point deletion failure.StringstorageClass()Specifies the storage class of the recovery point.AwsBackupRecoveryPointDetails.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
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
CalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.- Returns:
- A
CalculatedLifecycleobject containingDeleteAtandMoveToColdStorageAttimestamps.
-
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
CompletionDateis 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
CompletionDateis 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, andBackupRuleIdof 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, andBackupRuleIdof 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
CreationDateis 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
CreationDateis 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
TRUEif the specified recovery point is encrypted, orFALSEif the recovery point is not encrypted.- Returns:
- A Boolean value that is returned as
TRUEif the specified recovery point is encrypted, orFALSEif 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
LastRestoreTimeis 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
LastRestoreTimeis 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
public AwsBackupRecoveryPointDetails.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<AwsBackupRecoveryPointDetails.Builder,AwsBackupRecoveryPointDetails>
-
builder
public static AwsBackupRecoveryPointDetails.Builder builder()
-
serializableBuilderClass
public static Class<? extends AwsBackupRecoveryPointDetails.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-