Struct aws_sdk_backup::operation::describe_protected_resource::DescribeProtectedResourceOutput
source · #[non_exhaustive]pub struct DescribeProtectedResourceOutput { /* private fields */ }
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.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl PartialEq<DescribeProtectedResourceOutput> for DescribeProtectedResourceOutput
impl PartialEq<DescribeProtectedResourceOutput> for DescribeProtectedResourceOutput
source§fn eq(&self, other: &DescribeProtectedResourceOutput) -> bool
fn eq(&self, other: &DescribeProtectedResourceOutput) -> bool
This method tests for
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>
Returns the request ID, or
None
if the service could not be reached.