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.
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.
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<DecryptDataInputBuilder> for DecryptDataInputBuilder
impl PartialEq<DecryptDataInputBuilder> 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 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