#[non_exhaustive]pub struct DbClusterSnapshotAttributeBuilder { /* private fields */ }
Expand description
A builder for DbClusterSnapshotAttribute
.
Implementations§
source§impl DbClusterSnapshotAttributeBuilder
impl DbClusterSnapshotAttributeBuilder
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 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 cluster snapshot.
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 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 cluster snapshot.
sourcepub fn get_attribute_name(&self) -> &Option<String>
pub fn get_attribute_name(&self) -> &Option<String>
The name of the manual 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 cluster snapshot.
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 values for the manual 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 cluster snapshot. If a value of all
is in the list, then the manual 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 values for the manual 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 cluster snapshot. If a value of all
is in the list, then the manual cluster snapshot is public and available for any Amazon Web Services account to copy or restore.
sourcepub fn get_attribute_values(&self) -> &Option<Vec<String>>
pub fn get_attribute_values(&self) -> &Option<Vec<String>>
The values for the manual 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 cluster snapshot. If a value of all
is in the list, then the manual 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
.
Trait Implementations§
source§impl Clone for DbClusterSnapshotAttributeBuilder
impl Clone for DbClusterSnapshotAttributeBuilder
source§fn clone(&self) -> DbClusterSnapshotAttributeBuilder
fn clone(&self) -> DbClusterSnapshotAttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DbClusterSnapshotAttributeBuilder
impl Default for DbClusterSnapshotAttributeBuilder
source§fn default() -> DbClusterSnapshotAttributeBuilder
fn default() -> DbClusterSnapshotAttributeBuilder
source§impl PartialEq for DbClusterSnapshotAttributeBuilder
impl PartialEq for DbClusterSnapshotAttributeBuilder
source§fn eq(&self, other: &DbClusterSnapshotAttributeBuilder) -> bool
fn eq(&self, other: &DbClusterSnapshotAttributeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.