Struct aws_sdk_kms::operation::generate_data_key_without_plaintext::builders::GenerateDataKeyWithoutPlaintextOutputBuilder
source · #[non_exhaustive]pub struct GenerateDataKeyWithoutPlaintextOutputBuilder { /* private fields */ }
Expand description
A builder for GenerateDataKeyWithoutPlaintextOutput
.
Implementations§
source§impl GenerateDataKeyWithoutPlaintextOutputBuilder
impl GenerateDataKeyWithoutPlaintextOutputBuilder
sourcepub fn ciphertext_blob(self, input: Blob) -> Self
pub fn ciphertext_blob(self, input: Blob) -> Self
The encrypted data key. 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 encrypted data key. 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 encrypted data key. 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 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 encrypted the data key.
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 encrypted the data key.
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 encrypted the data key.
sourcepub fn build(self) -> GenerateDataKeyWithoutPlaintextOutput
pub fn build(self) -> GenerateDataKeyWithoutPlaintextOutput
Consumes the builder and constructs a GenerateDataKeyWithoutPlaintextOutput
.
Trait Implementations§
source§impl Clone for GenerateDataKeyWithoutPlaintextOutputBuilder
impl Clone for GenerateDataKeyWithoutPlaintextOutputBuilder
source§fn clone(&self) -> GenerateDataKeyWithoutPlaintextOutputBuilder
fn clone(&self) -> GenerateDataKeyWithoutPlaintextOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GenerateDataKeyWithoutPlaintextOutputBuilder
impl Default for GenerateDataKeyWithoutPlaintextOutputBuilder
source§fn default() -> GenerateDataKeyWithoutPlaintextOutputBuilder
fn default() -> GenerateDataKeyWithoutPlaintextOutputBuilder
source§impl PartialEq for GenerateDataKeyWithoutPlaintextOutputBuilder
impl PartialEq for GenerateDataKeyWithoutPlaintextOutputBuilder
source§fn eq(&self, other: &GenerateDataKeyWithoutPlaintextOutputBuilder) -> bool
fn eq(&self, other: &GenerateDataKeyWithoutPlaintextOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.