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<StartKeyUsageInputBuilder> for StartKeyUsageInputBuilder
impl PartialEq<StartKeyUsageInputBuilder> 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 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