#[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
source§impl PartialEq for ReplicateKeyOutputBuilder
impl PartialEq for ReplicateKeyOutputBuilder
source§fn eq(&self, other: &ReplicateKeyOutputBuilder) -> bool
fn eq(&self, other: &ReplicateKeyOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.