Struct aws_sdk_paymentcryptographydata::operation::encrypt_data::builders::EncryptDataInputBuilder
source · #[non_exhaustive]pub struct EncryptDataInputBuilder { /* private fields */ }
Expand description
A builder for EncryptDataInput
.
Implementations§
source§impl EncryptDataInputBuilder
impl EncryptDataInputBuilder
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 plaintext encryption.
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 plaintext encryption.
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 plaintext encryption.
sourcepub fn plain_text(self, input: impl Into<String>) -> Self
pub fn plain_text(self, input: impl Into<String>) -> Self
The plaintext to be encrypted.
sourcepub fn set_plain_text(self, input: Option<String>) -> Self
pub fn set_plain_text(self, input: Option<String>) -> Self
The plaintext to be encrypted.
sourcepub fn get_plain_text(&self) -> &Option<String>
pub fn get_plain_text(&self) -> &Option<String>
The plaintext to be encrypted.
sourcepub fn encryption_attributes(
self,
input: EncryptionDecryptionAttributes
) -> Self
pub fn encryption_attributes( self, input: EncryptionDecryptionAttributes ) -> Self
The encryption key type and attributes for plaintext encryption.
sourcepub fn set_encryption_attributes(
self,
input: Option<EncryptionDecryptionAttributes>
) -> Self
pub fn set_encryption_attributes( self, input: Option<EncryptionDecryptionAttributes> ) -> Self
The encryption key type and attributes for plaintext encryption.
sourcepub fn get_encryption_attributes(
&self
) -> &Option<EncryptionDecryptionAttributes>
pub fn get_encryption_attributes( &self ) -> &Option<EncryptionDecryptionAttributes>
The encryption key type and attributes for plaintext encryption.
sourcepub fn build(self) -> Result<EncryptDataInput, BuildError>
pub fn build(self) -> Result<EncryptDataInput, BuildError>
Consumes the builder and constructs a EncryptDataInput
.
source§impl EncryptDataInputBuilder
impl EncryptDataInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<EncryptDataOutput, SdkError<EncryptDataError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<EncryptDataOutput, SdkError<EncryptDataError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for EncryptDataInputBuilder
impl Clone for EncryptDataInputBuilder
source§fn clone(&self) -> EncryptDataInputBuilder
fn clone(&self) -> EncryptDataInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EncryptDataInputBuilder
impl Debug for EncryptDataInputBuilder
source§impl Default for EncryptDataInputBuilder
impl Default for EncryptDataInputBuilder
source§fn default() -> EncryptDataInputBuilder
fn default() -> EncryptDataInputBuilder
source§impl PartialEq<EncryptDataInputBuilder> for EncryptDataInputBuilder
impl PartialEq<EncryptDataInputBuilder> for EncryptDataInputBuilder
source§fn eq(&self, other: &EncryptDataInputBuilder) -> bool
fn eq(&self, other: &EncryptDataInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.