Struct aws_sdk_docdb::types::DbClusterSnapshotAttribute
source · #[non_exhaustive]pub struct DbClusterSnapshotAttribute {
pub attribute_name: Option<String>,
pub attribute_values: Option<Vec<String>>,
}
Expand description
Contains the name and values of a manual cluster snapshot attribute.
Manual cluster snapshot attributes are used to authorize other Amazon Web Services accounts to restore a manual cluster snapshot.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.attribute_name: 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.
attribute_values: 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.
Implementations§
source§impl DbClusterSnapshotAttribute
impl DbClusterSnapshotAttribute
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
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) -> Option<&[String]>
pub fn attribute_values(&self) -> Option<&[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.
source§impl DbClusterSnapshotAttribute
impl DbClusterSnapshotAttribute
sourcepub fn builder() -> DbClusterSnapshotAttributeBuilder
pub fn builder() -> DbClusterSnapshotAttributeBuilder
Creates a new builder-style object to manufacture DbClusterSnapshotAttribute
.
Trait Implementations§
source§impl Clone for DbClusterSnapshotAttribute
impl Clone for DbClusterSnapshotAttribute
source§fn clone(&self) -> DbClusterSnapshotAttribute
fn clone(&self) -> DbClusterSnapshotAttribute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbClusterSnapshotAttribute
impl Debug for DbClusterSnapshotAttribute
source§impl PartialEq for DbClusterSnapshotAttribute
impl PartialEq for DbClusterSnapshotAttribute
source§fn eq(&self, other: &DbClusterSnapshotAttribute) -> bool
fn eq(&self, other: &DbClusterSnapshotAttribute) -> bool
self
and other
values to be equal, and is used
by ==
.