Struct aws_sdk_kms::types::builders::MultiRegionKeyBuilder
source · #[non_exhaustive]pub struct MultiRegionKeyBuilder { /* private fields */ }
Expand description
A builder for MultiRegionKey
.
Implementations§
source§impl MultiRegionKeyBuilder
impl MultiRegionKeyBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
Displays the key ARN of a primary or replica key of a multi-Region key.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
Displays the key ARN of a primary or replica key of a multi-Region key.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
Displays the key ARN of a primary or replica key of a multi-Region key.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
Displays the Amazon Web Services Region of a primary or replica key in a multi-Region key.
sourcepub fn build(self) -> MultiRegionKey
pub fn build(self) -> MultiRegionKey
Consumes the builder and constructs a MultiRegionKey
.
Trait Implementations§
source§impl Clone for MultiRegionKeyBuilder
impl Clone for MultiRegionKeyBuilder
source§fn clone(&self) -> MultiRegionKeyBuilder
fn clone(&self) -> MultiRegionKeyBuilder
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 MultiRegionKeyBuilder
impl Debug for MultiRegionKeyBuilder
source§impl Default for MultiRegionKeyBuilder
impl Default for MultiRegionKeyBuilder
source§fn default() -> MultiRegionKeyBuilder
fn default() -> MultiRegionKeyBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for MultiRegionKeyBuilder
impl PartialEq for MultiRegionKeyBuilder
source§fn eq(&self, other: &MultiRegionKeyBuilder) -> bool
fn eq(&self, other: &MultiRegionKeyBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MultiRegionKeyBuilder
Auto Trait Implementations§
impl Freeze for MultiRegionKeyBuilder
impl RefUnwindSafe for MultiRegionKeyBuilder
impl Send for MultiRegionKeyBuilder
impl Sync for MultiRegionKeyBuilder
impl Unpin for MultiRegionKeyBuilder
impl UnwindSafe for MultiRegionKeyBuilder
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.