Struct aws_sdk_backup::model::ProtectedResource
source · [−]#[non_exhaustive]pub struct ProtectedResource { /* private fields */ }
Expand description
A structure that contains information about a backed-up resource.
Implementations
sourceimpl ProtectedResource
impl ProtectedResource
sourcepub fn resource_arn(&self) -> Option<&str>
pub fn resource_arn(&self) -> Option<&str>
An Amazon Resource Name (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; for example, an Amazon Elastic Block Store (Amazon EBS) volume or an Amazon Relational Database Service (Amazon RDS) database. For Windows Volume Shadow Copy Service (VSS) backups, the only supported resource type is Amazon EC2.
sourcepub fn last_backup_time(&self) -> Option<&DateTime>
pub fn last_backup_time(&self) -> Option<&DateTime>
The date and time 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.
sourceimpl ProtectedResource
impl ProtectedResource
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ProtectedResource
.
Trait Implementations
sourceimpl Clone for ProtectedResource
impl Clone for ProtectedResource
sourcefn clone(&self) -> ProtectedResource
fn clone(&self) -> ProtectedResource
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more