#[non_exhaustive]pub struct AwsBackupRecoveryPointDetails { /* private fields */ }
Expand description
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.
Implementations§
source§impl AwsBackupRecoveryPointDetails
impl AwsBackupRecoveryPointDetails
sourcepub fn backup_size_in_bytes(&self) -> i64
pub fn backup_size_in_bytes(&self) -> i64
The size, in bytes, of a backup.
sourcepub fn backup_vault_arn(&self) -> Option<&str>
pub fn backup_vault_arn(&self) -> Option<&str>
An Amazon Resource Name (ARN) that uniquely identifies a backup vault.
sourcepub fn backup_vault_name(&self) -> Option<&str>
pub fn backup_vault_name(&self) -> Option<&str>
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.
sourcepub fn calculated_lifecycle(
&self
) -> Option<&AwsBackupRecoveryPointCalculatedLifecycleDetails>
pub fn calculated_lifecycle(
&self
) -> Option<&AwsBackupRecoveryPointCalculatedLifecycleDetails>
A CalculatedLifecycle
object containing DeleteAt
and MoveToColdStorageAt
timestamps.
sourcepub fn completion_date(&self) -> Option<&str>
pub fn completion_date(&self) -> Option<&str>
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.
sourcepub fn created_by(&self) -> Option<&AwsBackupRecoveryPointCreatedByDetails>
pub fn created_by(&self) -> Option<&AwsBackupRecoveryPointCreatedByDetails>
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.
sourcepub fn creation_date(&self) -> Option<&str>
pub fn creation_date(&self) -> Option<&str>
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.
sourcepub fn encryption_key_arn(&self) -> Option<&str>
pub fn encryption_key_arn(&self) -> Option<&str>
The ARN for the server-side encryption key that is used to protect your backups.
sourcepub fn iam_role_arn(&self) -> Option<&str>
pub fn iam_role_arn(&self) -> Option<&str>
Specifies the IAM role ARN used to create the target recovery point
sourcepub fn is_encrypted(&self) -> bool
pub fn is_encrypted(&self) -> bool
A Boolean value that is returned as TRUE
if the specified recovery point is encrypted, or FALSE
if the recovery point is not encrypted.
sourcepub fn last_restore_time(&self) -> Option<&str>
pub fn last_restore_time(&self) -> Option<&str>
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.
sourcepub fn lifecycle(&self) -> Option<&AwsBackupRecoveryPointLifecycleDetails>
pub fn lifecycle(&self) -> Option<&AwsBackupRecoveryPointLifecycleDetails>
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
sourcepub fn recovery_point_arn(&self) -> Option<&str>
pub fn recovery_point_arn(&self) -> Option<&str>
An ARN that uniquely identifies a recovery point.
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The type of Amazon Web Services resource saved as a recovery point, such as an Amazon EBS volume or an Amazon RDS database.
sourcepub fn source_backup_vault_arn(&self) -> Option<&str>
pub fn source_backup_vault_arn(&self) -> Option<&str>
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.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
A status code specifying the state of the recovery point. Valid values are as follows:
-
COMPLETED
-
DELETING
-
EXPIRED
-
PARTIAL
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A message explaining the reason of the recovery point deletion failure.
sourcepub fn storage_class(&self) -> Option<&str>
pub fn storage_class(&self) -> Option<&str>
Specifies the storage class of the recovery point. Valid values are as follows:
-
COLD
-
DELETED
-
WARM
source§impl AwsBackupRecoveryPointDetails
impl AwsBackupRecoveryPointDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsBackupRecoveryPointDetails
.
Trait Implementations§
source§impl Clone for AwsBackupRecoveryPointDetails
impl Clone for AwsBackupRecoveryPointDetails
source§fn clone(&self) -> AwsBackupRecoveryPointDetails
fn clone(&self) -> AwsBackupRecoveryPointDetails
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<AwsBackupRecoveryPointDetails> for AwsBackupRecoveryPointDetails
impl PartialEq<AwsBackupRecoveryPointDetails> for AwsBackupRecoveryPointDetails
source§fn eq(&self, other: &AwsBackupRecoveryPointDetails) -> bool
fn eq(&self, other: &AwsBackupRecoveryPointDetails) -> bool
self
and other
values to be equal, and is used
by ==
.