Struct aws_sdk_securityhub::types::builders::AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
source · #[non_exhaustive]pub struct AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder { /* private fields */ }Expand description
A builder for AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.
Implementations§
source§impl AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
impl AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
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.
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.
sourcepub fn get_attribute_name(&self) -> &Option<String>
pub fn get_attribute_name(&self) -> &Option<String>
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.
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 get_attribute_values(&self) -> &Option<Vec<String>>
pub fn get_attribute_values(&self) -> &Option<Vec<String>>
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) -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
pub fn build(self) -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute
Consumes the builder and constructs a AwsRdsDbClusterSnapshotDbClusterSnapshotAttribute.
Trait Implementations§
source§impl Clone for AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
impl Clone for AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
source§fn clone(&self) -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
fn clone(&self) -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
impl Default for AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
source§fn default() -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
fn default() -> AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
source§impl PartialEq for AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
impl PartialEq for AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
source§fn eq(
&self,
other: &AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder
) -> bool
fn eq( &self, other: &AwsRdsDbClusterSnapshotDbClusterSnapshotAttributeBuilder ) -> bool
self and other values to be equal, and is used
by ==.