Struct aws_sdk_rds::types::builders::DbSnapshotAttributeBuilder
source · #[non_exhaustive]pub struct DbSnapshotAttributeBuilder { /* private fields */ }Expand description
A builder for DbSnapshotAttribute.
Implementations§
source§impl DbSnapshotAttributeBuilder
impl DbSnapshotAttributeBuilder
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of the manual DB snapshot attribute.
The attribute named restore refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBSnapshotAttribute API action.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of the manual DB snapshot attribute.
The attribute named restore refers to the list of Amazon Web Services accounts that have permission to copy or restore the manual DB cluster snapshot. For more information, see the ModifyDBSnapshotAttribute API action.
sourcepub fn attribute_values(self, input: impl Into<String>) -> Self
pub fn attribute_values(self, input: impl Into<String>) -> Self
Appends an item to attribute_values.
To override the contents of this collection use set_attribute_values.
The value or values for the manual DB snapshot attribute.
If the AttributeName field is set to restore, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If a value of all is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore.
sourcepub fn set_attribute_values(self, input: Option<Vec<String>>) -> Self
pub fn set_attribute_values(self, input: Option<Vec<String>>) -> Self
The value or values for the manual DB snapshot attribute.
If the AttributeName field is set to restore, then this element returns a list of IDs of the Amazon Web Services accounts that are authorized to copy or restore the manual DB snapshot. If a value of all is in the list, then the manual DB snapshot is public and available for any Amazon Web Services account to copy or restore.
sourcepub fn build(self) -> DbSnapshotAttribute
pub fn build(self) -> DbSnapshotAttribute
Consumes the builder and constructs a DbSnapshotAttribute.
Trait Implementations§
source§impl Clone for DbSnapshotAttributeBuilder
impl Clone for DbSnapshotAttributeBuilder
source§fn clone(&self) -> DbSnapshotAttributeBuilder
fn clone(&self) -> DbSnapshotAttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbSnapshotAttributeBuilder
impl Debug for DbSnapshotAttributeBuilder
source§impl Default for DbSnapshotAttributeBuilder
impl Default for DbSnapshotAttributeBuilder
source§fn default() -> DbSnapshotAttributeBuilder
fn default() -> DbSnapshotAttributeBuilder
source§impl PartialEq<DbSnapshotAttributeBuilder> for DbSnapshotAttributeBuilder
impl PartialEq<DbSnapshotAttributeBuilder> for DbSnapshotAttributeBuilder
source§fn eq(&self, other: &DbSnapshotAttributeBuilder) -> bool
fn eq(&self, other: &DbSnapshotAttributeBuilder) -> bool
self and other values to be equal, and is used
by ==.