Struct aws_sdk_rds::model::db_snapshot_attribute::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DbSnapshotAttribute.
Implementations
sourceimpl Builder
impl Builder
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.