Struct aws_sdk_paymentcryptographydata::operation::re_encrypt_data::builders::ReEncryptDataInputBuilder
source · #[non_exhaustive]pub struct ReEncryptDataInputBuilder { /* private fields */ }
Expand description
A builder for ReEncryptDataInput
.
Implementations§
source§impl ReEncryptDataInputBuilder
impl ReEncryptDataInputBuilder
sourcepub fn incoming_key_identifier(self, input: impl Into<String>) -> Self
pub fn incoming_key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the encryption key of incoming ciphertext data.
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_incoming_key_identifier(self, input: Option<String>) -> Self
pub fn set_incoming_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the encryption key of incoming ciphertext data.
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_incoming_key_identifier(&self) -> &Option<String>
pub fn get_incoming_key_identifier(&self) -> &Option<String>
The keyARN
of the encryption key of incoming ciphertext data.
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 outgoing_key_identifier(self, input: impl Into<String>) -> Self
pub fn outgoing_key_identifier(self, input: impl Into<String>) -> Self
The keyARN
of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn set_outgoing_key_identifier(self, input: Option<String>) -> Self
pub fn set_outgoing_key_identifier(self, input: Option<String>) -> Self
The keyARN
of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn get_outgoing_key_identifier(&self) -> &Option<String>
pub fn get_outgoing_key_identifier(&self) -> &Option<String>
The keyARN
of the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn cipher_text(self, input: impl Into<String>) -> Self
pub fn cipher_text(self, input: impl Into<String>) -> Self
Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
This field is required.sourcepub fn set_cipher_text(self, input: Option<String>) -> Self
pub fn set_cipher_text(self, input: Option<String>) -> Self
Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
sourcepub fn get_cipher_text(&self) -> &Option<String>
pub fn get_cipher_text(&self) -> &Option<String>
Ciphertext to be encrypted. The minimum allowed length is 16 bytes and maximum allowed length is 4096 bytes.
sourcepub fn incoming_encryption_attributes(
self,
input: ReEncryptionAttributes,
) -> Self
pub fn incoming_encryption_attributes( self, input: ReEncryptionAttributes, ) -> Self
The attributes and values for incoming ciphertext.
This field is required.sourcepub fn set_incoming_encryption_attributes(
self,
input: Option<ReEncryptionAttributes>,
) -> Self
pub fn set_incoming_encryption_attributes( self, input: Option<ReEncryptionAttributes>, ) -> Self
The attributes and values for incoming ciphertext.
sourcepub fn get_incoming_encryption_attributes(
&self,
) -> &Option<ReEncryptionAttributes>
pub fn get_incoming_encryption_attributes( &self, ) -> &Option<ReEncryptionAttributes>
The attributes and values for incoming ciphertext.
sourcepub fn outgoing_encryption_attributes(
self,
input: ReEncryptionAttributes,
) -> Self
pub fn outgoing_encryption_attributes( self, input: ReEncryptionAttributes, ) -> Self
The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
This field is required.sourcepub fn set_outgoing_encryption_attributes(
self,
input: Option<ReEncryptionAttributes>,
) -> Self
pub fn set_outgoing_encryption_attributes( self, input: Option<ReEncryptionAttributes>, ) -> Self
The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn get_outgoing_encryption_attributes(
&self,
) -> &Option<ReEncryptionAttributes>
pub fn get_outgoing_encryption_attributes( &self, ) -> &Option<ReEncryptionAttributes>
The attributes and values for outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn incoming_wrapped_key(self, input: WrappedKey) -> Self
pub fn incoming_wrapped_key(self, input: WrappedKey) -> Self
The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
sourcepub fn set_incoming_wrapped_key(self, input: Option<WrappedKey>) -> Self
pub fn set_incoming_wrapped_key(self, input: Option<WrappedKey>) -> Self
The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
sourcepub fn get_incoming_wrapped_key(&self) -> &Option<WrappedKey>
pub fn get_incoming_wrapped_key(&self) -> &Option<WrappedKey>
The WrappedKeyBlock containing the encryption key of incoming ciphertext data.
sourcepub fn outgoing_wrapped_key(self, input: WrappedKey) -> Self
pub fn outgoing_wrapped_key(self, input: WrappedKey) -> Self
The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn set_outgoing_wrapped_key(self, input: Option<WrappedKey>) -> Self
pub fn set_outgoing_wrapped_key(self, input: Option<WrappedKey>) -> Self
The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn get_outgoing_wrapped_key(&self) -> &Option<WrappedKey>
pub fn get_outgoing_wrapped_key(&self) -> &Option<WrappedKey>
The WrappedKeyBlock containing the encryption key of outgoing ciphertext data after encryption by Amazon Web Services Payment Cryptography.
sourcepub fn build(self) -> Result<ReEncryptDataInput, BuildError>
pub fn build(self) -> Result<ReEncryptDataInput, BuildError>
Consumes the builder and constructs a ReEncryptDataInput
.
source§impl ReEncryptDataInputBuilder
impl ReEncryptDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ReEncryptDataOutput, SdkError<ReEncryptDataError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ReEncryptDataOutput, SdkError<ReEncryptDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ReEncryptDataInputBuilder
impl Clone for ReEncryptDataInputBuilder
source§fn clone(&self) -> ReEncryptDataInputBuilder
fn clone(&self) -> ReEncryptDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReEncryptDataInputBuilder
impl Debug for ReEncryptDataInputBuilder
source§impl Default for ReEncryptDataInputBuilder
impl Default for ReEncryptDataInputBuilder
source§fn default() -> ReEncryptDataInputBuilder
fn default() -> ReEncryptDataInputBuilder
impl StructuralPartialEq for ReEncryptDataInputBuilder
Auto Trait Implementations§
impl Freeze for ReEncryptDataInputBuilder
impl RefUnwindSafe for ReEncryptDataInputBuilder
impl Send for ReEncryptDataInputBuilder
impl Sync for ReEncryptDataInputBuilder
impl Unpin for ReEncryptDataInputBuilder
impl UnwindSafe for ReEncryptDataInputBuilder
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