#[non_exhaustive]pub struct ReplicaRegionTypeBuilder { /* private fields */ }
Expand description
A builder for ReplicaRegionType
.
Implementations§
source§impl ReplicaRegionTypeBuilder
impl ReplicaRegionTypeBuilder
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
A Region code. For a list of Region codes, see Name and code of Regions.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
A Region code. For a list of Region codes, see Name and code of Regions.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
A Region code. For a list of Region codes, see Name and code of Regions.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
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
.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
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
.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
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
.
sourcepub fn build(self) -> ReplicaRegionType
pub fn build(self) -> ReplicaRegionType
Consumes the builder and constructs a ReplicaRegionType
.
Trait Implementations§
source§impl Clone for ReplicaRegionTypeBuilder
impl Clone for ReplicaRegionTypeBuilder
source§fn clone(&self) -> ReplicaRegionTypeBuilder
fn clone(&self) -> ReplicaRegionTypeBuilder
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 ReplicaRegionTypeBuilder
impl Debug for ReplicaRegionTypeBuilder
source§impl Default for ReplicaRegionTypeBuilder
impl Default for ReplicaRegionTypeBuilder
source§fn default() -> ReplicaRegionTypeBuilder
fn default() -> ReplicaRegionTypeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ReplicaRegionTypeBuilder
impl PartialEq for ReplicaRegionTypeBuilder
impl StructuralPartialEq for ReplicaRegionTypeBuilder
Auto Trait Implementations§
impl Freeze for ReplicaRegionTypeBuilder
impl RefUnwindSafe for ReplicaRegionTypeBuilder
impl Send for ReplicaRegionTypeBuilder
impl Sync for ReplicaRegionTypeBuilder
impl Unpin for ReplicaRegionTypeBuilder
impl UnwindSafe for ReplicaRegionTypeBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.