Struct aws_sdk_paymentcryptography::operation::update_alias::builders::UpdateAliasFluentBuilder
source · pub struct UpdateAliasFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateAlias
.
Associates an existing Amazon Web Services Payment Cryptography alias with a different key. Each alias is associated with only one Amazon Web Services Payment Cryptography key at a time, although a key can have multiple aliases. The alias and the Amazon Web Services Payment Cryptography key must be in the same Amazon Web Services account and Amazon Web Services Region
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
-
CreateAlias
-
DeleteAlias
-
GetAlias
-
ListAliases
Implementations§
source§impl UpdateAliasFluentBuilder
impl UpdateAliasFluentBuilder
sourcepub fn as_input(&self) -> &UpdateAliasInputBuilder
pub fn as_input(&self) -> &UpdateAliasInputBuilder
Access the UpdateAlias as a reference.
sourcepub async fn send(
self
) -> Result<UpdateAliasOutput, SdkError<UpdateAliasError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateAliasOutput, SdkError<UpdateAliasError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateAliasOutput, UpdateAliasError, Self>, SdkError<UpdateAliasError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateAliasOutput, UpdateAliasError, Self>, SdkError<UpdateAliasError>>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn alias_name(self, input: impl Into<String>) -> Self
pub fn alias_name(self, input: impl Into<String>) -> Self
The alias whose associated key is changing.
sourcepub fn set_alias_name(self, input: Option<String>) -> Self
pub fn set_alias_name(self, input: Option<String>) -> Self
The alias whose associated key is changing.
sourcepub fn get_alias_name(&self) -> &Option<String>
pub fn get_alias_name(&self) -> &Option<String>
The alias whose associated key is changing.
sourcepub fn key_arn(self, input: impl Into<String>) -> Self
pub fn key_arn(self, input: impl Into<String>) -> Self
The KeyARN
for the key that you are updating or removing from the alias.
sourcepub fn set_key_arn(self, input: Option<String>) -> Self
pub fn set_key_arn(self, input: Option<String>) -> Self
The KeyARN
for the key that you are updating or removing from the alias.
sourcepub fn get_key_arn(&self) -> &Option<String>
pub fn get_key_arn(&self) -> &Option<String>
The KeyARN
for the key that you are updating or removing from the alias.
Trait Implementations§
source§impl Clone for UpdateAliasFluentBuilder
impl Clone for UpdateAliasFluentBuilder
source§fn clone(&self) -> UpdateAliasFluentBuilder
fn clone(&self) -> UpdateAliasFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more