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 ==
.