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.
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.
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.
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.
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.
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.
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 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
source§impl PartialEq<ReEncryptDataInputBuilder> for ReEncryptDataInputBuilder
impl PartialEq<ReEncryptDataInputBuilder> for ReEncryptDataInputBuilder
source§fn eq(&self, other: &ReEncryptDataInputBuilder) -> bool
fn eq(&self, other: &ReEncryptDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.