Struct aws_sdk_redshift::operation::revoke_snapshot_access::builders::RevokeSnapshotAccessInputBuilder
source · #[non_exhaustive]pub struct RevokeSnapshotAccessInputBuilder { /* private fields */ }
Expand description
A builder for RevokeSnapshotAccessInput
.
Implementations§
source§impl RevokeSnapshotAccessInputBuilder
impl RevokeSnapshotAccessInputBuilder
sourcepub fn snapshot_identifier(self, input: impl Into<String>) -> Self
pub fn snapshot_identifier(self, input: impl Into<String>) -> Self
The identifier of the snapshot that the account can no longer access.
sourcepub fn set_snapshot_identifier(self, input: Option<String>) -> Self
pub fn set_snapshot_identifier(self, input: Option<String>) -> Self
The identifier of the snapshot that the account can no longer access.
sourcepub fn get_snapshot_identifier(&self) -> &Option<String>
pub fn get_snapshot_identifier(&self) -> &Option<String>
The identifier of the snapshot that the account can no longer access.
sourcepub fn snapshot_arn(self, input: impl Into<String>) -> Self
pub fn snapshot_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
sourcepub fn set_snapshot_arn(self, input: Option<String>) -> Self
pub fn set_snapshot_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
sourcepub fn get_snapshot_arn(&self) -> &Option<String>
pub fn get_snapshot_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the snapshot associated with the message to revoke access.
sourcepub fn snapshot_cluster_identifier(self, input: impl Into<String>) -> Self
pub fn snapshot_cluster_identifier(self, input: impl Into<String>) -> Self
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
sourcepub fn set_snapshot_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_snapshot_cluster_identifier(self, input: Option<String>) -> Self
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
sourcepub fn get_snapshot_cluster_identifier(&self) -> &Option<String>
pub fn get_snapshot_cluster_identifier(&self) -> &Option<String>
The identifier of the cluster the snapshot was created from. This parameter is required if your IAM user has a policy containing a snapshot resource element that specifies anything other than * for the cluster name.
sourcepub fn account_with_restore_access(self, input: impl Into<String>) -> Self
pub fn account_with_restore_access(self, input: impl Into<String>) -> Self
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
This field is required.sourcepub fn set_account_with_restore_access(self, input: Option<String>) -> Self
pub fn set_account_with_restore_access(self, input: Option<String>) -> Self
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
sourcepub fn get_account_with_restore_access(&self) -> &Option<String>
pub fn get_account_with_restore_access(&self) -> &Option<String>
The identifier of the Amazon Web Services account that can no longer restore the specified snapshot.
sourcepub fn build(self) -> Result<RevokeSnapshotAccessInput, BuildError>
pub fn build(self) -> Result<RevokeSnapshotAccessInput, BuildError>
Consumes the builder and constructs a RevokeSnapshotAccessInput
.
source§impl RevokeSnapshotAccessInputBuilder
impl RevokeSnapshotAccessInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<RevokeSnapshotAccessOutput, SdkError<RevokeSnapshotAccessError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<RevokeSnapshotAccessOutput, SdkError<RevokeSnapshotAccessError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for RevokeSnapshotAccessInputBuilder
impl Clone for RevokeSnapshotAccessInputBuilder
source§fn clone(&self) -> RevokeSnapshotAccessInputBuilder
fn clone(&self) -> RevokeSnapshotAccessInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RevokeSnapshotAccessInputBuilder
impl Default for RevokeSnapshotAccessInputBuilder
source§fn default() -> RevokeSnapshotAccessInputBuilder
fn default() -> RevokeSnapshotAccessInputBuilder
source§impl PartialEq for RevokeSnapshotAccessInputBuilder
impl PartialEq for RevokeSnapshotAccessInputBuilder
source§fn eq(&self, other: &RevokeSnapshotAccessInputBuilder) -> bool
fn eq(&self, other: &RevokeSnapshotAccessInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.