Struct aws_sdk_redshift::types::builders::SnapshotCopyGrantBuilder
source · #[non_exhaustive]pub struct SnapshotCopyGrantBuilder { /* private fields */ }
Expand description
A builder for SnapshotCopyGrant
.
Implementations§
source§impl SnapshotCopyGrantBuilder
impl SnapshotCopyGrantBuilder
sourcepub fn snapshot_copy_grant_name(self, input: impl Into<String>) -> Self
pub fn snapshot_copy_grant_name(self, input: impl Into<String>) -> Self
The name of the snapshot copy grant.
sourcepub fn set_snapshot_copy_grant_name(self, input: Option<String>) -> Self
pub fn set_snapshot_copy_grant_name(self, input: Option<String>) -> Self
The name of the snapshot copy grant.
sourcepub fn get_snapshot_copy_grant_name(&self) -> &Option<String>
pub fn get_snapshot_copy_grant_name(&self) -> &Option<String>
The name of the snapshot copy grant.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The unique identifier of the encrypted symmetric key in Amazon Web Services KMS to which Amazon Redshift is granted permission.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
A list of tag instances.
A list of tag instances.
A list of tag instances.
sourcepub fn build(self) -> SnapshotCopyGrant
pub fn build(self) -> SnapshotCopyGrant
Consumes the builder and constructs a SnapshotCopyGrant
.
Trait Implementations§
source§impl Clone for SnapshotCopyGrantBuilder
impl Clone for SnapshotCopyGrantBuilder
source§fn clone(&self) -> SnapshotCopyGrantBuilder
fn clone(&self) -> SnapshotCopyGrantBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SnapshotCopyGrantBuilder
impl Debug for SnapshotCopyGrantBuilder
source§impl Default for SnapshotCopyGrantBuilder
impl Default for SnapshotCopyGrantBuilder
source§fn default() -> SnapshotCopyGrantBuilder
fn default() -> SnapshotCopyGrantBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for SnapshotCopyGrantBuilder
impl PartialEq for SnapshotCopyGrantBuilder
source§fn eq(&self, other: &SnapshotCopyGrantBuilder) -> bool
fn eq(&self, other: &SnapshotCopyGrantBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for SnapshotCopyGrantBuilder
Auto Trait Implementations§
impl Freeze for SnapshotCopyGrantBuilder
impl RefUnwindSafe for SnapshotCopyGrantBuilder
impl Send for SnapshotCopyGrantBuilder
impl Sync for SnapshotCopyGrantBuilder
impl Unpin for SnapshotCopyGrantBuilder
impl UnwindSafe for SnapshotCopyGrantBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.