Struct aws_sdk_secretsmanager::model::ReplicaRegionType
source · #[non_exhaustive]pub struct ReplicaRegionType { /* private fields */ }Expand description
A custom type that specifies a Region and the KmsKeyId for a replica secret.
Implementations§
source§impl ReplicaRegionType
impl ReplicaRegionType
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
A Region code. For a list of Region codes, see Name and code of Regions.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN, key ID, or alias of the KMS key to encrypt the secret. If you don't include this field, Secrets Manager uses aws/secretsmanager.
source§impl ReplicaRegionType
impl ReplicaRegionType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReplicaRegionType.
Trait Implementations§
source§impl Clone for ReplicaRegionType
impl Clone for ReplicaRegionType
source§fn clone(&self) -> ReplicaRegionType
fn clone(&self) -> ReplicaRegionType
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 ReplicaRegionType
impl Debug for ReplicaRegionType
source§impl PartialEq<ReplicaRegionType> for ReplicaRegionType
impl PartialEq<ReplicaRegionType> for ReplicaRegionType
source§fn eq(&self, other: &ReplicaRegionType) -> bool
fn eq(&self, other: &ReplicaRegionType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.