Struct aws_sdk_paymentcryptography::operation::create_alias::builders::CreateAliasInputBuilder
source · #[non_exhaustive]pub struct CreateAliasInputBuilder { /* private fields */ }
Expand description
A builder for CreateAliasInput
.
Implementations§
source§impl CreateAliasInputBuilder
impl CreateAliasInputBuilder
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 a key. An alias must begin with alias/
followed by a name, for example alias/ExampleAlias
. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).
Don't 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 a key. An alias must begin with alias/
followed by a name, for example alias/ExampleAlias
. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).
Don't 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 a key. An alias must begin with alias/
followed by a name, for example alias/ExampleAlias
. It can contain only alphanumeric characters, forward slashes (/), underscores (_), and dashes (-).
Don't 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 to associate 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 to associate with the alias.
sourcepub fn get_key_arn(&self) -> &Option<String>
pub fn get_key_arn(&self) -> &Option<String>
The KeyARN
of the key to associate with the alias.
sourcepub fn build(self) -> Result<CreateAliasInput, BuildError>
pub fn build(self) -> Result<CreateAliasInput, BuildError>
Consumes the builder and constructs a CreateAliasInput
.
source§impl CreateAliasInputBuilder
impl CreateAliasInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateAliasOutput, SdkError<CreateAliasError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateAliasOutput, SdkError<CreateAliasError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateAliasInputBuilder
impl Clone for CreateAliasInputBuilder
source§fn clone(&self) -> CreateAliasInputBuilder
fn clone(&self) -> CreateAliasInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateAliasInputBuilder
impl Debug for CreateAliasInputBuilder
source§impl Default for CreateAliasInputBuilder
impl Default for CreateAliasInputBuilder
source§fn default() -> CreateAliasInputBuilder
fn default() -> CreateAliasInputBuilder
source§impl PartialEq for CreateAliasInputBuilder
impl PartialEq for CreateAliasInputBuilder
source§fn eq(&self, other: &CreateAliasInputBuilder) -> bool
fn eq(&self, other: &CreateAliasInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.