Struct aws_sdk_backup::operation::get_backup_vault_access_policy::builders::GetBackupVaultAccessPolicyOutputBuilder
source · #[non_exhaustive]pub struct GetBackupVaultAccessPolicyOutputBuilder { /* private fields */ }
Expand description
A builder for GetBackupVaultAccessPolicyOutput
.
Implementations§
source§impl GetBackupVaultAccessPolicyOutputBuilder
impl GetBackupVaultAccessPolicyOutputBuilder
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 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 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 Region where they are created. They consist of lowercase letters, numbers, and hyphens.
sourcepub fn backup_vault_arn(self, input: impl Into<String>) -> Self
pub fn backup_vault_arn(self, input: impl Into<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
sourcepub fn set_backup_vault_arn(self, input: Option<String>) -> Self
pub fn set_backup_vault_arn(self, input: Option<String>) -> Self
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
sourcepub fn get_backup_vault_arn(&self) -> &Option<String>
pub fn get_backup_vault_arn(&self) -> &Option<String>
An Amazon Resource Name (ARN) that uniquely identifies a backup vault; for example, arn:aws:backup:us-east-1:123456789012:vault:aBackupVault
.
sourcepub fn policy(self, input: impl Into<String>) -> Self
pub fn policy(self, input: impl Into<String>) -> Self
The backup vault access policy document in JSON format.
sourcepub fn set_policy(self, input: Option<String>) -> Self
pub fn set_policy(self, input: Option<String>) -> Self
The backup vault access policy document in JSON format.
sourcepub fn get_policy(&self) -> &Option<String>
pub fn get_policy(&self) -> &Option<String>
The backup vault access policy document in JSON format.
sourcepub fn build(self) -> GetBackupVaultAccessPolicyOutput
pub fn build(self) -> GetBackupVaultAccessPolicyOutput
Consumes the builder and constructs a GetBackupVaultAccessPolicyOutput
.
Trait Implementations§
source§impl Clone for GetBackupVaultAccessPolicyOutputBuilder
impl Clone for GetBackupVaultAccessPolicyOutputBuilder
source§fn clone(&self) -> GetBackupVaultAccessPolicyOutputBuilder
fn clone(&self) -> GetBackupVaultAccessPolicyOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetBackupVaultAccessPolicyOutputBuilder
impl Default for GetBackupVaultAccessPolicyOutputBuilder
source§fn default() -> GetBackupVaultAccessPolicyOutputBuilder
fn default() -> GetBackupVaultAccessPolicyOutputBuilder
source§impl PartialEq for GetBackupVaultAccessPolicyOutputBuilder
impl PartialEq for GetBackupVaultAccessPolicyOutputBuilder
source§fn eq(&self, other: &GetBackupVaultAccessPolicyOutputBuilder) -> bool
fn eq(&self, other: &GetBackupVaultAccessPolicyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.