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 last_backup_vault_arn(self, input: impl Into<String>) -> Self
pub fn last_backup_vault_arn(self, input: impl Into<String>) -> Self
This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
sourcepub fn set_last_backup_vault_arn(self, input: Option<String>) -> Self
pub fn set_last_backup_vault_arn(self, input: Option<String>) -> Self
This is the ARN (Amazon Resource Name) of the backup vault that contains the most recent backup recovery point.
sourcepub fn get_last_backup_vault_arn(&self) -> &Option<String>
pub fn get_last_backup_vault_arn(&self) -> &Option<String>
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, input: impl Into<String>) -> Self
pub fn last_recovery_point_arn(self, input: impl Into<String>) -> Self
This is the ARN (Amazon Resource Name) of the most recent recovery point.
sourcepub fn set_last_recovery_point_arn(self, input: Option<String>) -> Self
pub fn set_last_recovery_point_arn(self, input: Option<String>) -> Self
This is the ARN (Amazon Resource Name) of the most recent recovery point.
sourcepub fn get_last_recovery_point_arn(&self) -> &Option<String>
pub fn get_last_recovery_point_arn(&self) -> &Option<String>
This is the ARN (Amazon Resource Name) of the most recent recovery point.
sourcepub fn latest_restore_execution_time_minutes(self, input: i64) -> Self
pub fn latest_restore_execution_time_minutes(self, input: i64) -> Self
This is the time in minutes the most recent restore job took to complete.
sourcepub fn set_latest_restore_execution_time_minutes(
self,
input: Option<i64>
) -> Self
pub fn set_latest_restore_execution_time_minutes( self, input: Option<i64> ) -> Self
This is the time in minutes the most recent restore job took to complete.
sourcepub fn get_latest_restore_execution_time_minutes(&self) -> &Option<i64>
pub fn get_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, input: DateTime) -> Self
pub fn latest_restore_job_creation_date(self, input: DateTime) -> Self
This is the creation date of the most recent restore job.
sourcepub fn set_latest_restore_job_creation_date(
self,
input: Option<DateTime>
) -> Self
pub fn set_latest_restore_job_creation_date( self, input: Option<DateTime> ) -> Self
This is the creation date of the most recent restore job.
sourcepub fn get_latest_restore_job_creation_date(&self) -> &Option<DateTime>
pub fn get_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,
input: DateTime
) -> Self
pub fn latest_restore_recovery_point_creation_date( self, input: DateTime ) -> Self
This is the date the most recent recovery point was created.
sourcepub fn set_latest_restore_recovery_point_creation_date(
self,
input: Option<DateTime>
) -> Self
pub fn set_latest_restore_recovery_point_creation_date( self, input: Option<DateTime> ) -> Self
This is the date the most recent recovery point was created.
sourcepub fn get_latest_restore_recovery_point_creation_date(
&self
) -> &Option<DateTime>
pub fn get_latest_restore_recovery_point_creation_date( &self ) -> &Option<DateTime>
This is the date the most recent recovery point was created.
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 ==
.