Struct aws_sdk_kms::operation::re_encrypt::builders::ReEncryptOutputBuilder
source · #[non_exhaustive]pub struct ReEncryptOutputBuilder { /* private fields */ }
Expand description
A builder for ReEncryptOutput
.
Implementations§
source§impl ReEncryptOutputBuilder
impl ReEncryptOutputBuilder
sourcepub fn ciphertext_blob(self, input: Blob) -> Self
pub fn ciphertext_blob(self, input: Blob) -> Self
The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
sourcepub fn set_ciphertext_blob(self, input: Option<Blob>) -> Self
pub fn set_ciphertext_blob(self, input: Option<Blob>) -> Self
The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
sourcepub fn get_ciphertext_blob(&self) -> &Option<Blob>
pub fn get_ciphertext_blob(&self) -> &Option<Blob>
The reencrypted data. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded.
sourcepub fn source_key_id(self, input: impl Into<String>) -> Self
pub fn source_key_id(self, input: impl Into<String>) -> Self
Unique identifier of the KMS key used to originally encrypt the data.
sourcepub fn set_source_key_id(self, input: Option<String>) -> Self
pub fn set_source_key_id(self, input: Option<String>) -> Self
Unique identifier of the KMS key used to originally encrypt the data.
sourcepub fn get_source_key_id(&self) -> &Option<String>
pub fn get_source_key_id(&self) -> &Option<String>
Unique identifier of the KMS key used to originally encrypt the data.
sourcepub fn key_id(self, input: impl Into<String>) -> Self
pub fn key_id(self, input: impl Into<String>) -> Self
The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.
sourcepub fn set_key_id(self, input: Option<String>) -> Self
pub fn set_key_id(self, input: Option<String>) -> Self
The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.
sourcepub fn get_key_id(&self) -> &Option<String>
pub fn get_key_id(&self) -> &Option<String>
The Amazon Resource Name (key ARN) of the KMS key that was used to reencrypt the data.
sourcepub fn source_encryption_algorithm(self, input: EncryptionAlgorithmSpec) -> Self
pub fn source_encryption_algorithm(self, input: EncryptionAlgorithmSpec) -> Self
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
sourcepub fn set_source_encryption_algorithm(
self,
input: Option<EncryptionAlgorithmSpec>
) -> Self
pub fn set_source_encryption_algorithm( self, input: Option<EncryptionAlgorithmSpec> ) -> Self
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
sourcepub fn get_source_encryption_algorithm(
&self
) -> &Option<EncryptionAlgorithmSpec>
pub fn get_source_encryption_algorithm( &self ) -> &Option<EncryptionAlgorithmSpec>
The encryption algorithm that was used to decrypt the ciphertext before it was reencrypted.
sourcepub fn destination_encryption_algorithm(
self,
input: EncryptionAlgorithmSpec
) -> Self
pub fn destination_encryption_algorithm( self, input: EncryptionAlgorithmSpec ) -> Self
The encryption algorithm that was used to reencrypt the data.
sourcepub fn set_destination_encryption_algorithm(
self,
input: Option<EncryptionAlgorithmSpec>
) -> Self
pub fn set_destination_encryption_algorithm( self, input: Option<EncryptionAlgorithmSpec> ) -> Self
The encryption algorithm that was used to reencrypt the data.
sourcepub fn get_destination_encryption_algorithm(
&self
) -> &Option<EncryptionAlgorithmSpec>
pub fn get_destination_encryption_algorithm( &self ) -> &Option<EncryptionAlgorithmSpec>
The encryption algorithm that was used to reencrypt the data.
sourcepub fn build(self) -> ReEncryptOutput
pub fn build(self) -> ReEncryptOutput
Consumes the builder and constructs a ReEncryptOutput
.
Trait Implementations§
source§impl Clone for ReEncryptOutputBuilder
impl Clone for ReEncryptOutputBuilder
source§fn clone(&self) -> ReEncryptOutputBuilder
fn clone(&self) -> ReEncryptOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ReEncryptOutputBuilder
impl Debug for ReEncryptOutputBuilder
source§impl Default for ReEncryptOutputBuilder
impl Default for ReEncryptOutputBuilder
source§fn default() -> ReEncryptOutputBuilder
fn default() -> ReEncryptOutputBuilder
source§impl PartialEq for ReEncryptOutputBuilder
impl PartialEq for ReEncryptOutputBuilder
source§fn eq(&self, other: &ReEncryptOutputBuilder) -> bool
fn eq(&self, other: &ReEncryptOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.