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.
When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
This field is required.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.
When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
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.
When a WrappedKeyBlock is provided, this value will be the identifier to the key wrapping key. Otherwise, it is the key identifier used to perform the operation.
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 wrapped_key(self, input: WrappedKey) -> Self
pub fn wrapped_key(self, input: WrappedKey) -> Self
The WrappedKeyBlock containing the encryption key for ciphertext decryption.
sourcepub fn set_wrapped_key(self, input: Option<WrappedKey>) -> Self
pub fn set_wrapped_key(self, input: Option<WrappedKey>) -> Self
The WrappedKeyBlock containing the encryption key for ciphertext decryption.
sourcepub fn get_wrapped_key(&self) -> &Option<WrappedKey>
pub fn get_wrapped_key(&self) -> &Option<WrappedKey>
The WrappedKeyBlock containing the encryption key 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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for DecryptDataInputBuilder
impl PartialEq for DecryptDataInputBuilder
source§fn eq(&self, other: &DecryptDataInputBuilder) -> bool
fn eq(&self, other: &DecryptDataInputBuilder) -> bool
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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