#[non_exhaustive]pub struct ModifyDbClusterSnapshotAttributeInput { /* private fields */ }
Expand description
Represents the input to ModifyDBClusterSnapshotAttribute
.
Implementations§
source§impl ModifyDbClusterSnapshotAttributeInput
impl ModifyDbClusterSnapshotAttributeInput
sourcepub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyDBClusterSnapshotAttribute, AwsResponseRetryClassifier>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ModifyDBClusterSnapshotAttribute, AwsResponseRetryClassifier>, BuildError>
Consumes the builder and constructs an Operation<ModifyDBClusterSnapshotAttribute
>
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ModifyDbClusterSnapshotAttributeInput
.
source§impl ModifyDbClusterSnapshotAttributeInput
impl ModifyDbClusterSnapshotAttributeInput
sourcepub fn db_cluster_snapshot_identifier(&self) -> Option<&str>
pub fn db_cluster_snapshot_identifier(&self) -> Option<&str>
The identifier for the cluster snapshot to modify the attributes for.
sourcepub fn attribute_name(&self) -> Option<&str>
pub fn attribute_name(&self) -> Option<&str>
The name of the cluster snapshot attribute to modify.
To manage authorization for other Amazon Web Services accounts to copy or restore a manual cluster snapshot, set this value to restore
.
sourcepub fn values_to_add(&self) -> Option<&[String]>
pub fn values_to_add(&self) -> Option<&[String]>
A list of cluster snapshot attributes to add to the attribute specified by AttributeName
.
To authorize other Amazon Web Services accounts to copy or restore a manual cluster snapshot, set this list to include one or more Amazon Web Services account IDs. To make the manual cluster snapshot restorable by any Amazon Web Services account, set it to all
. Do not add the all
value for any manual cluster snapshots that contain private information that you don't want to be available to all Amazon Web Services accounts.
sourcepub fn values_to_remove(&self) -> Option<&[String]>
pub fn values_to_remove(&self) -> Option<&[String]>
A list of cluster snapshot attributes to remove from the attribute specified by AttributeName
.
To remove authorization for other Amazon Web Services accounts to copy or restore a manual cluster snapshot, set this list to include one or more Amazon Web Services account identifiers. To remove authorization for any Amazon Web Services account to copy or restore the cluster snapshot, set it to all
. If you specify all
, an Amazon Web Services account whose account ID is explicitly added to the restore
attribute can still copy or restore a manual cluster snapshot.
Trait Implementations§
source§impl Clone for ModifyDbClusterSnapshotAttributeInput
impl Clone for ModifyDbClusterSnapshotAttributeInput
source§fn clone(&self) -> ModifyDbClusterSnapshotAttributeInput
fn clone(&self) -> ModifyDbClusterSnapshotAttributeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ModifyDbClusterSnapshotAttributeInput> for ModifyDbClusterSnapshotAttributeInput
impl PartialEq<ModifyDbClusterSnapshotAttributeInput> for ModifyDbClusterSnapshotAttributeInput
source§fn eq(&self, other: &ModifyDbClusterSnapshotAttributeInput) -> bool
fn eq(&self, other: &ModifyDbClusterSnapshotAttributeInput) -> bool
self
and other
values to be equal, and is used
by ==
.