Struct aws_sdk_backup::operation::describe_protected_resource::DescribeProtectedResourceOutput
source · #[non_exhaustive]pub struct DescribeProtectedResourceOutput {
pub resource_arn: Option<String>,
pub resource_type: Option<String>,
pub last_backup_time: Option<DateTime>,
pub resource_name: Option<String>,
pub last_backup_vault_arn: Option<String>,
pub last_recovery_point_arn: Option<String>,
pub latest_restore_execution_time_minutes: Option<i64>,
pub latest_restore_job_creation_date: Option<DateTime>,
pub latest_restore_recovery_point_creation_date: Option<DateTime>,
/* private fields */
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.resource_arn: Option<String>
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
resource_type: Option<String>
The type of Amazon Web Services resource saved as a recovery point; for example, an Amazon EBS volume or an Amazon RDS database.
last_backup_time: Option<DateTime>
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
resource_name: Option<String>
This is the non-unique name of the resource that belongs to the specified backup.
last_backup_vault_arn: Option<String>
This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
last_recovery_point_arn: Option<String>
This is the ARN (Amazon Resource Name) of the most recent recovery point.
latest_restore_execution_time_minutes: Option<i64>
This is the time in minutes the most recent restore job took to complete.
latest_restore_job_creation_date: Option<DateTime>
This is the creation date of the most recent restore job.
latest_restore_recovery_point_creation_date: Option<DateTime>
This is the date the most recent recovery point was created.
Implementations§
source§impl DescribeProtectedResourceOutput
impl DescribeProtectedResourceOutput
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; for example, an Amazon EBS volume or an Amazon RDS database.
sourcepub fn last_backup_time(&self) -> Option<&DateTime>
pub fn last_backup_time(&self) -> Option<&DateTime>
The date and time that a resource was last backed up, in Unix format and Coordinated Universal Time (UTC). The value of LastBackupTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
sourcepub fn resource_name(&self) -> Option<&str>
pub fn resource_name(&self) -> Option<&str>
This is the non-unique name of the resource that belongs to the specified backup.
sourcepub fn last_backup_vault_arn(&self) -> Option<&str>
pub fn last_backup_vault_arn(&self) -> Option<&str>
This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
sourcepub fn last_recovery_point_arn(&self) -> Option<&str>
pub fn last_recovery_point_arn(&self) -> Option<&str>
This is the ARN (Amazon Resource Name) of the most recent recovery point.
sourcepub fn latest_restore_execution_time_minutes(&self) -> Option<i64>
pub fn latest_restore_execution_time_minutes(&self) -> Option<i64>
This is the time in minutes the most recent restore job took to complete.
sourcepub fn latest_restore_job_creation_date(&self) -> Option<&DateTime>
pub fn latest_restore_job_creation_date(&self) -> Option<&DateTime>
This is the creation date of the most recent restore job.
sourcepub fn latest_restore_recovery_point_creation_date(&self) -> Option<&DateTime>
pub fn latest_restore_recovery_point_creation_date(&self) -> Option<&DateTime>
This is the date the most recent recovery point was created.
source§impl DescribeProtectedResourceOutput
impl DescribeProtectedResourceOutput
sourcepub fn builder() -> DescribeProtectedResourceOutputBuilder
pub fn builder() -> DescribeProtectedResourceOutputBuilder
Creates a new builder-style object to manufacture DescribeProtectedResourceOutput
.
Trait Implementations§
source§impl Clone for DescribeProtectedResourceOutput
impl Clone for DescribeProtectedResourceOutput
source§fn clone(&self) -> DescribeProtectedResourceOutput
fn clone(&self) -> DescribeProtectedResourceOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for DescribeProtectedResourceOutput
impl PartialEq for DescribeProtectedResourceOutput
source§fn eq(&self, other: &DescribeProtectedResourceOutput) -> bool
fn eq(&self, other: &DescribeProtectedResourceOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DescribeProtectedResourceOutput
impl RequestId for DescribeProtectedResourceOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.