#[non_exhaustive]pub struct ReplicateKeyOutputBuilder { /* private fields */ }
Expand description
A builder for ReplicateKeyOutput
.
Implementations§
Source§impl ReplicateKeyOutputBuilder
impl ReplicateKeyOutputBuilder
Sourcepub fn replica_key_metadata(self, input: KeyMetadata) -> Self
pub fn replica_key_metadata(self, input: KeyMetadata) -> Self
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
Sourcepub fn set_replica_key_metadata(self, input: Option<KeyMetadata>) -> Self
pub fn set_replica_key_metadata(self, input: Option<KeyMetadata>) -> Self
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
Sourcepub fn get_replica_key_metadata(&self) -> &Option<KeyMetadata>
pub fn get_replica_key_metadata(&self) -> &Option<KeyMetadata>
Displays details about the new replica key, including its Amazon Resource Name (key ARN) and Key states of KMS keys. It also includes the ARN and Amazon Web Services Region of its primary key and other replica keys.
Sourcepub fn replica_policy(self, input: impl Into<String>) -> Self
pub fn replica_policy(self, input: impl Into<String>) -> Self
The key policy of the new replica key. The value is a key policy document in JSON format.
Sourcepub fn set_replica_policy(self, input: Option<String>) -> Self
pub fn set_replica_policy(self, input: Option<String>) -> Self
The key policy of the new replica key. The value is a key policy document in JSON format.
Sourcepub fn get_replica_policy(&self) -> &Option<String>
pub fn get_replica_policy(&self) -> &Option<String>
The key policy of the new replica key. The value is a key policy document in JSON format.
Appends an item to replica_tags
.
To override the contents of this collection use set_replica_tags
.
The tags on the new replica key. The value is a list of tag key and tag value pairs.
The tags on the new replica key. The value is a list of tag key and tag value pairs.
The tags on the new replica key. The value is a list of tag key and tag value pairs.
Sourcepub fn build(self) -> ReplicateKeyOutput
pub fn build(self) -> ReplicateKeyOutput
Consumes the builder and constructs a ReplicateKeyOutput
.
Trait Implementations§
Source§impl Clone for ReplicateKeyOutputBuilder
impl Clone for ReplicateKeyOutputBuilder
Source§fn clone(&self) -> ReplicateKeyOutputBuilder
fn clone(&self) -> ReplicateKeyOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ReplicateKeyOutputBuilder
impl Debug for ReplicateKeyOutputBuilder
Source§impl Default for ReplicateKeyOutputBuilder
impl Default for ReplicateKeyOutputBuilder
Source§fn default() -> ReplicateKeyOutputBuilder
fn default() -> ReplicateKeyOutputBuilder
impl StructuralPartialEq for ReplicateKeyOutputBuilder
Auto Trait Implementations§
impl Freeze for ReplicateKeyOutputBuilder
impl RefUnwindSafe for ReplicateKeyOutputBuilder
impl Send for ReplicateKeyOutputBuilder
impl Sync for ReplicateKeyOutputBuilder
impl Unpin for ReplicateKeyOutputBuilder
impl UnwindSafe for ReplicateKeyOutputBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more