Struct aws_sdk_paymentcryptography::operation::start_key_usage::builders::StartKeyUsageFluentBuilder
source · pub struct StartKeyUsageFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to StartKeyUsage
.
Enables an Amazon Web Services Payment Cryptography key, which makes it active for cryptographic operations within Amazon Web Services Payment Cryptography
Cross-account use: This operation can't be used across different Amazon Web Services accounts.
Related operations:
Implementations§
source§impl StartKeyUsageFluentBuilder
impl StartKeyUsageFluentBuilder
sourcepub fn as_input(&self) -> &StartKeyUsageInputBuilder
pub fn as_input(&self) -> &StartKeyUsageInputBuilder
Access the StartKeyUsage as a reference.
sourcepub async fn send(
self
) -> Result<StartKeyUsageOutput, SdkError<StartKeyUsageError, HttpResponse>>
pub async fn send( self ) -> Result<StartKeyUsageOutput, SdkError<StartKeyUsageError, 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 fn customize(
self
) -> CustomizableOperation<StartKeyUsageOutput, StartKeyUsageError, Self>
pub fn customize( self ) -> CustomizableOperation<StartKeyUsageOutput, StartKeyUsageError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The KeyArn
of the key.
sourcepub fn set_key_identifier(self, input: Option<String>) -> Self
pub fn set_key_identifier(self, input: Option<String>) -> Self
The KeyArn
of the key.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The KeyArn
of the key.
Trait Implementations§
source§impl Clone for StartKeyUsageFluentBuilder
impl Clone for StartKeyUsageFluentBuilder
source§fn clone(&self) -> StartKeyUsageFluentBuilder
fn clone(&self) -> StartKeyUsageFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for StartKeyUsageFluentBuilder
impl !RefUnwindSafe for StartKeyUsageFluentBuilder
impl Send for StartKeyUsageFluentBuilder
impl Sync for StartKeyUsageFluentBuilder
impl Unpin for StartKeyUsageFluentBuilder
impl !UnwindSafe for StartKeyUsageFluentBuilder
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