Struct aws_sdk_paymentcryptographydata::operation::decrypt_data::builders::DecryptDataInputBuilder
source · #[non_exhaustive]pub struct DecryptDataInputBuilder { /* private fields */ }Expand description
A builder for DecryptDataInput.
Implementations§
source§impl DecryptDataInputBuilder
impl DecryptDataInputBuilder
sourcepub fn key_identifier(self, input: impl Into<String>) -> Self
pub fn key_identifier(self, input: impl Into<String>) -> Self
The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
sourcepub fn set_key_identifier(self, input: Option<String>) -> Self
pub fn set_key_identifier(self, input: Option<String>) -> Self
The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
sourcepub fn get_key_identifier(&self) -> &Option<String>
pub fn get_key_identifier(&self) -> &Option<String>
The keyARN of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
sourcepub fn cipher_text(self, input: impl Into<String>) -> Self
pub fn cipher_text(self, input: impl Into<String>) -> Self
The ciphertext to decrypt.
This field is required.sourcepub fn set_cipher_text(self, input: Option<String>) -> Self
pub fn set_cipher_text(self, input: Option<String>) -> Self
The ciphertext to decrypt.
sourcepub fn get_cipher_text(&self) -> &Option<String>
pub fn get_cipher_text(&self) -> &Option<String>
The ciphertext to decrypt.
sourcepub fn decryption_attributes(
self,
input: EncryptionDecryptionAttributes
) -> Self
pub fn decryption_attributes( self, input: EncryptionDecryptionAttributes ) -> Self
The encryption key type and attributes for ciphertext decryption.
This field is required.sourcepub fn set_decryption_attributes(
self,
input: Option<EncryptionDecryptionAttributes>
) -> Self
pub fn set_decryption_attributes( self, input: Option<EncryptionDecryptionAttributes> ) -> Self
The encryption key type and attributes for ciphertext decryption.
sourcepub fn get_decryption_attributes(
&self
) -> &Option<EncryptionDecryptionAttributes>
pub fn get_decryption_attributes( &self ) -> &Option<EncryptionDecryptionAttributes>
The encryption key type and attributes for ciphertext decryption.
sourcepub fn build(self) -> Result<DecryptDataInput, BuildError>
pub fn build(self) -> Result<DecryptDataInput, BuildError>
Consumes the builder and constructs a DecryptDataInput.
source§impl DecryptDataInputBuilder
impl DecryptDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DecryptDataOutput, SdkError<DecryptDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DecryptDataOutput, SdkError<DecryptDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DecryptDataInputBuilder
impl Clone for DecryptDataInputBuilder
source§fn clone(&self) -> DecryptDataInputBuilder
fn clone(&self) -> DecryptDataInputBuilder
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 DecryptDataInputBuilder
impl Debug for DecryptDataInputBuilder
source§impl Default for DecryptDataInputBuilder
impl Default for DecryptDataInputBuilder
source§fn default() -> DecryptDataInputBuilder
fn default() -> DecryptDataInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DecryptDataInputBuilder
impl PartialEq for DecryptDataInputBuilder
source§fn eq(&self, other: &DecryptDataInputBuilder) -> bool
fn eq(&self, other: &DecryptDataInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DecryptDataInputBuilder
Auto Trait Implementations§
impl Freeze for DecryptDataInputBuilder
impl RefUnwindSafe for DecryptDataInputBuilder
impl Send for DecryptDataInputBuilder
impl Sync for DecryptDataInputBuilder
impl Unpin for DecryptDataInputBuilder
impl UnwindSafe for DecryptDataInputBuilder
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.