Struct aws_sdk_rds::model::db_cluster_snapshot_attribute::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DbClusterSnapshotAttribute.
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 cluster 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 ModifyDBClusterSnapshotAttribute 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 cluster 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 ModifyDBClusterSnapshotAttribute 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(s) for the manual DB cluster 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 cluster snapshot. If a value of all is in the list, then the manual DB cluster 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(s) for the manual DB cluster 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 cluster snapshot. If a value of all is in the list, then the manual DB cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
sourcepub fn build(self) -> DbClusterSnapshotAttribute
pub fn build(self) -> DbClusterSnapshotAttribute
Consumes the builder and constructs a DbClusterSnapshotAttribute.