Struct aws_sdk_paymentcryptography::types::builders::AliasBuilder
source · #[non_exhaustive]pub struct AliasBuilder { /* private fields */ }Expand description
A builder for Alias.
Implementations§
source§impl AliasBuilder
impl AliasBuilder
sourcepub fn alias_name(self, input: impl Into<String>) -> Self
pub fn alias_name(self, input: impl Into<String>) -> Self
A friendly name that you can use to refer to a key. The value must begin with alias/.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
sourcepub fn set_alias_name(self, input: Option<String>) -> Self
pub fn set_alias_name(self, input: Option<String>) -> Self
A friendly name that you can use to refer to a key. The value must begin with alias/.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
sourcepub fn get_alias_name(&self) -> &Option<String>
pub fn get_alias_name(&self) -> &Option<String>
A friendly name that you can use to refer to a key. The value must begin with alias/.
Do not include confidential or sensitive information in this field. This field may be displayed in plaintext in CloudTrail logs and other output.
sourcepub fn key_arn(self, input: impl Into<String>) -> Self
pub fn key_arn(self, input: impl Into<String>) -> Self
The KeyARN of the key associated with the alias.
sourcepub fn set_key_arn(self, input: Option<String>) -> Self
pub fn set_key_arn(self, input: Option<String>) -> Self
The KeyARN of the key associated with the alias.
sourcepub fn get_key_arn(&self) -> &Option<String>
pub fn get_key_arn(&self) -> &Option<String>
The KeyARN of the key associated with the alias.
Trait Implementations§
source§impl Clone for AliasBuilder
impl Clone for AliasBuilder
source§fn clone(&self) -> AliasBuilder
fn clone(&self) -> AliasBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for AliasBuilder
impl Debug for AliasBuilder
source§impl Default for AliasBuilder
impl Default for AliasBuilder
source§fn default() -> AliasBuilder
fn default() -> AliasBuilder
source§impl PartialEq for AliasBuilder
impl PartialEq for AliasBuilder
source§fn eq(&self, other: &AliasBuilder) -> bool
fn eq(&self, other: &AliasBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AliasBuilder
Auto Trait Implementations§
impl Freeze for AliasBuilder
impl RefUnwindSafe for AliasBuilder
impl Send for AliasBuilder
impl Sync for AliasBuilder
impl Unpin for AliasBuilder
impl UnwindSafe for AliasBuilder
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> 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