Struct aws_sdk_backup::operation::describe_recovery_point::builders::DescribeRecoveryPointInputBuilder
source · #[non_exhaustive]pub struct DescribeRecoveryPointInputBuilder { /* private fields */ }
Expand description
A builder for DescribeRecoveryPointInput
.
Implementations§
source§impl DescribeRecoveryPointInputBuilder
impl DescribeRecoveryPointInputBuilder
sourcepub fn backup_vault_name(self, input: impl Into<String>) -> Self
pub fn backup_vault_name(self, input: impl Into<String>) -> Self
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
This field is required.sourcepub fn set_backup_vault_name(self, input: Option<String>) -> Self
pub fn set_backup_vault_name(self, input: Option<String>) -> Self
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn get_backup_vault_name(&self) -> &Option<String>
pub fn get_backup_vault_name(&self) -> &Option<String>
The name of a logical container where backups are stored. Backup vaults are identified by names that are unique to the account used to create them and the Amazon Web Services Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn recovery_point_arn(self, input: impl Into<String>) -> Self
pub fn recovery_point_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
sourcepub fn set_recovery_point_arn(self, input: Option<String>) -> Self
pub fn set_recovery_point_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
sourcepub fn get_recovery_point_arn(&self) -> &Option<String>
pub fn get_recovery_point_arn(&self) -> &Option<String>
An Amazon Resource Name (ARN) that uniquely identifies a recovery point; for example, arn:aws:backup:us-east-1:123456789012:recovery-point:1EB3B5E7-9EB0-435A-A80B-108B488B0D45
.
sourcepub fn backup_vault_account_id(self, input: impl Into<String>) -> Self
pub fn backup_vault_account_id(self, input: impl Into<String>) -> Self
This is the account ID of the specified backup vault.
sourcepub fn set_backup_vault_account_id(self, input: Option<String>) -> Self
pub fn set_backup_vault_account_id(self, input: Option<String>) -> Self
This is the account ID of the specified backup vault.
sourcepub fn get_backup_vault_account_id(&self) -> &Option<String>
pub fn get_backup_vault_account_id(&self) -> &Option<String>
This is the account ID of the specified backup vault.
sourcepub fn build(self) -> Result<DescribeRecoveryPointInput, BuildError>
pub fn build(self) -> Result<DescribeRecoveryPointInput, BuildError>
Consumes the builder and constructs a DescribeRecoveryPointInput
.
source§impl DescribeRecoveryPointInputBuilder
impl DescribeRecoveryPointInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeRecoveryPointOutput, SdkError<DescribeRecoveryPointError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeRecoveryPointOutput, SdkError<DescribeRecoveryPointError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeRecoveryPointInputBuilder
impl Clone for DescribeRecoveryPointInputBuilder
source§fn clone(&self) -> DescribeRecoveryPointInputBuilder
fn clone(&self) -> DescribeRecoveryPointInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeRecoveryPointInputBuilder
impl Default for DescribeRecoveryPointInputBuilder
source§fn default() -> DescribeRecoveryPointInputBuilder
fn default() -> DescribeRecoveryPointInputBuilder
source§impl PartialEq for DescribeRecoveryPointInputBuilder
impl PartialEq for DescribeRecoveryPointInputBuilder
source§fn eq(&self, other: &DescribeRecoveryPointInputBuilder) -> bool
fn eq(&self, other: &DescribeRecoveryPointInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.