Struct aws_sdk_backup::operation::describe_protected_resource::builders::DescribeProtectedResourceOutputBuilder
source · #[non_exhaustive]pub struct DescribeProtectedResourceOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeProtectedResourceOutput
.
Implementations§
source§impl DescribeProtectedResourceOutputBuilder
impl DescribeProtectedResourceOutputBuilder
sourcepub fn resource_arn(self, input: impl Into<String>) -> Self
pub fn resource_arn(self, input: impl Into<String>) -> Self
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn set_resource_arn(self, input: Option<String>) -> Self
pub fn set_resource_arn(self, input: Option<String>) -> Self
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn get_resource_arn(&self) -> &Option<String>
pub fn get_resource_arn(&self) -> &Option<String>
An ARN that uniquely identifies a resource. The format of the ARN depends on the resource type.
sourcepub fn resource_type(self, input: impl Into<String>) -> Self
pub fn resource_type(self, input: impl Into<String>) -> Self
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 set_resource_type(self, input: Option<String>) -> Self
pub fn set_resource_type(self, input: Option<String>) -> Self
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 get_resource_type(&self) -> &Option<String>
pub fn get_resource_type(&self) -> &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.
sourcepub fn last_backup_time(self, input: DateTime) -> Self
pub fn last_backup_time(self, input: DateTime) -> Self
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 set_last_backup_time(self, input: Option<DateTime>) -> Self
pub fn set_last_backup_time(self, input: Option<DateTime>) -> Self
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 get_last_backup_time(&self) -> &Option<DateTime>
pub fn get_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, input: impl Into<String>) -> Self
pub fn resource_name(self, input: impl Into<String>) -> Self
This is the non-unique name of the resource that belongs to the specified backup.
sourcepub fn set_resource_name(self, input: Option<String>) -> Self
pub fn set_resource_name(self, input: Option<String>) -> Self
This is the non-unique name of the resource that belongs to the specified backup.
sourcepub fn get_resource_name(&self) -> &Option<String>
pub fn get_resource_name(&self) -> &Option<String>
This is the non-unique name of the resource that belongs to the specified backup.
sourcepub fn build(self) -> DescribeProtectedResourceOutput
pub fn build(self) -> DescribeProtectedResourceOutput
Consumes the builder and constructs a DescribeProtectedResourceOutput
.
Trait Implementations§
source§impl Clone for DescribeProtectedResourceOutputBuilder
impl Clone for DescribeProtectedResourceOutputBuilder
source§fn clone(&self) -> DescribeProtectedResourceOutputBuilder
fn clone(&self) -> DescribeProtectedResourceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeProtectedResourceOutputBuilder
impl Default for DescribeProtectedResourceOutputBuilder
source§fn default() -> DescribeProtectedResourceOutputBuilder
fn default() -> DescribeProtectedResourceOutputBuilder
source§impl PartialEq for DescribeProtectedResourceOutputBuilder
impl PartialEq for DescribeProtectedResourceOutputBuilder
source§fn eq(&self, other: &DescribeProtectedResourceOutputBuilder) -> bool
fn eq(&self, other: &DescribeProtectedResourceOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.