Struct aws_sdk_paymentcryptography::operation::start_key_usage::builders::StartKeyUsageInputBuilder
source · #[non_exhaustive]pub struct StartKeyUsageInputBuilder { /* private fields */ }Expand description
A builder for StartKeyUsageInput.
Implementations§
source§impl StartKeyUsageInputBuilder
impl StartKeyUsageInputBuilder
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.
sourcepub fn build(self) -> Result<StartKeyUsageInput, BuildError>
pub fn build(self) -> Result<StartKeyUsageInput, BuildError>
Consumes the builder and constructs a StartKeyUsageInput.
source§impl StartKeyUsageInputBuilder
impl StartKeyUsageInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<StartKeyUsageOutput, SdkError<StartKeyUsageError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<StartKeyUsageOutput, SdkError<StartKeyUsageError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for StartKeyUsageInputBuilder
impl Clone for StartKeyUsageInputBuilder
source§fn clone(&self) -> StartKeyUsageInputBuilder
fn clone(&self) -> StartKeyUsageInputBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for StartKeyUsageInputBuilder
impl Debug for StartKeyUsageInputBuilder
source§impl Default for StartKeyUsageInputBuilder
impl Default for StartKeyUsageInputBuilder
source§fn default() -> StartKeyUsageInputBuilder
fn default() -> StartKeyUsageInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for StartKeyUsageInputBuilder
impl PartialEq for StartKeyUsageInputBuilder
source§fn eq(&self, other: &StartKeyUsageInputBuilder) -> bool
fn eq(&self, other: &StartKeyUsageInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for StartKeyUsageInputBuilder
Auto Trait Implementations§
impl Freeze for StartKeyUsageInputBuilder
impl RefUnwindSafe for StartKeyUsageInputBuilder
impl Send for StartKeyUsageInputBuilder
impl Sync for StartKeyUsageInputBuilder
impl Unpin for StartKeyUsageInputBuilder
impl UnwindSafe for StartKeyUsageInputBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.