Struct aws_sdk_backup::operation::get_backup_vault_access_policy::builders::GetBackupVaultAccessPolicyInputBuilder
source · #[non_exhaustive]pub struct GetBackupVaultAccessPolicyInputBuilder { /* private fields */ }
Expand description
A builder for GetBackupVaultAccessPolicyInput
.
Implementations§
source§impl GetBackupVaultAccessPolicyInputBuilder
impl GetBackupVaultAccessPolicyInputBuilder
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.
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 build(self) -> Result<GetBackupVaultAccessPolicyInput, BuildError>
pub fn build(self) -> Result<GetBackupVaultAccessPolicyInput, BuildError>
Consumes the builder and constructs a GetBackupVaultAccessPolicyInput
.
source§impl GetBackupVaultAccessPolicyInputBuilder
impl GetBackupVaultAccessPolicyInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetBackupVaultAccessPolicyOutput, SdkError<GetBackupVaultAccessPolicyError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetBackupVaultAccessPolicyOutput, SdkError<GetBackupVaultAccessPolicyError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetBackupVaultAccessPolicyInputBuilder
impl Clone for GetBackupVaultAccessPolicyInputBuilder
source§fn clone(&self) -> GetBackupVaultAccessPolicyInputBuilder
fn clone(&self) -> GetBackupVaultAccessPolicyInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetBackupVaultAccessPolicyInputBuilder
impl Default for GetBackupVaultAccessPolicyInputBuilder
source§fn default() -> GetBackupVaultAccessPolicyInputBuilder
fn default() -> GetBackupVaultAccessPolicyInputBuilder
source§impl PartialEq<GetBackupVaultAccessPolicyInputBuilder> for GetBackupVaultAccessPolicyInputBuilder
impl PartialEq<GetBackupVaultAccessPolicyInputBuilder> for GetBackupVaultAccessPolicyInputBuilder
source§fn eq(&self, other: &GetBackupVaultAccessPolicyInputBuilder) -> bool
fn eq(&self, other: &GetBackupVaultAccessPolicyInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.