Struct aws_sdk_paymentcryptographydata::operation::decrypt_data::builders::DecryptDataOutputBuilder
source · #[non_exhaustive]pub struct DecryptDataOutputBuilder { /* private fields */ }
Expand description
A builder for DecryptDataOutput
.
Implementations§
source§impl DecryptDataOutputBuilder
impl DecryptDataOutputBuilder
sourcepub fn key_arn(self, input: impl Into<String>) -> Self
pub fn key_arn(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_arn(self, input: Option<String>) -> Self
pub fn set_key_arn(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_arn(&self) -> &Option<String>
pub fn get_key_arn(&self) -> &Option<String>
The keyARN
of the encryption key that Amazon Web Services Payment Cryptography uses for ciphertext decryption.
sourcepub fn key_check_value(self, input: impl Into<String>) -> Self
pub fn key_check_value(self, input: impl Into<String>) -> Self
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
This field is required.sourcepub fn set_key_check_value(self, input: Option<String>) -> Self
pub fn set_key_check_value(self, input: Option<String>) -> Self
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
sourcepub fn get_key_check_value(&self) -> &Option<String>
pub fn get_key_check_value(&self) -> &Option<String>
The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed.
Amazon Web Services Payment Cryptography computes the KCV according to the CMAC specification.
sourcepub fn plain_text(self, input: impl Into<String>) -> Self
pub fn plain_text(self, input: impl Into<String>) -> Self
The decrypted plaintext data in hexBinary format.
This field is required.sourcepub fn set_plain_text(self, input: Option<String>) -> Self
pub fn set_plain_text(self, input: Option<String>) -> Self
The decrypted plaintext data in hexBinary format.
sourcepub fn get_plain_text(&self) -> &Option<String>
pub fn get_plain_text(&self) -> &Option<String>
The decrypted plaintext data in hexBinary format.
sourcepub fn build(self) -> Result<DecryptDataOutput, BuildError>
pub fn build(self) -> Result<DecryptDataOutput, BuildError>
Consumes the builder and constructs a DecryptDataOutput
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for DecryptDataOutputBuilder
impl Clone for DecryptDataOutputBuilder
source§fn clone(&self) -> DecryptDataOutputBuilder
fn clone(&self) -> DecryptDataOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DecryptDataOutputBuilder
impl Debug for DecryptDataOutputBuilder
source§impl Default for DecryptDataOutputBuilder
impl Default for DecryptDataOutputBuilder
source§fn default() -> DecryptDataOutputBuilder
fn default() -> DecryptDataOutputBuilder
source§impl PartialEq for DecryptDataOutputBuilder
impl PartialEq for DecryptDataOutputBuilder
source§fn eq(&self, other: &DecryptDataOutputBuilder) -> bool
fn eq(&self, other: &DecryptDataOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DecryptDataOutputBuilder
Auto Trait Implementations§
impl Freeze for DecryptDataOutputBuilder
impl RefUnwindSafe for DecryptDataOutputBuilder
impl Send for DecryptDataOutputBuilder
impl Sync for DecryptDataOutputBuilder
impl Unpin for DecryptDataOutputBuilder
impl UnwindSafe for DecryptDataOutputBuilder
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