Struct aws_sdk_kms::operation::generate_data_key_pair_without_plaintext::builders::GenerateDataKeyPairWithoutPlaintextOutputBuilder
source · #[non_exhaustive]pub struct GenerateDataKeyPairWithoutPlaintextOutputBuilder { /* private fields */ }
Expand description
A builder for GenerateDataKeyPairWithoutPlaintextOutput
.
Implementations§
source§impl GenerateDataKeyPairWithoutPlaintextOutputBuilder
impl GenerateDataKeyPairWithoutPlaintextOutputBuilder
sourcepub fn private_key_ciphertext_blob(self, input: Blob) -> Self
pub fn private_key_ciphertext_blob(self, input: Blob) -> Self
The encrypted copy of the private 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_private_key_ciphertext_blob(self, input: Option<Blob>) -> Self
pub fn set_private_key_ciphertext_blob(self, input: Option<Blob>) -> Self
The encrypted copy of the private 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_private_key_ciphertext_blob(&self) -> &Option<Blob>
pub fn get_private_key_ciphertext_blob(&self) -> &Option<Blob>
The encrypted copy of the private 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 public_key(self, input: Blob) -> Self
pub fn public_key(self, input: Blob) -> Self
The public key (in plaintext). 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_public_key(self, input: Option<Blob>) -> Self
pub fn set_public_key(self, input: Option<Blob>) -> Self
The public key (in plaintext). 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_public_key(&self) -> &Option<Blob>
pub fn get_public_key(&self) -> &Option<Blob>
The public key (in plaintext). 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 private 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 private 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 private key.
sourcepub fn key_pair_spec(self, input: DataKeyPairSpec) -> Self
pub fn key_pair_spec(self, input: DataKeyPairSpec) -> Self
The type of data key pair that was generated.
sourcepub fn set_key_pair_spec(self, input: Option<DataKeyPairSpec>) -> Self
pub fn set_key_pair_spec(self, input: Option<DataKeyPairSpec>) -> Self
The type of data key pair that was generated.
sourcepub fn get_key_pair_spec(&self) -> &Option<DataKeyPairSpec>
pub fn get_key_pair_spec(&self) -> &Option<DataKeyPairSpec>
The type of data key pair that was generated.
sourcepub fn build(self) -> GenerateDataKeyPairWithoutPlaintextOutput
pub fn build(self) -> GenerateDataKeyPairWithoutPlaintextOutput
Consumes the builder and constructs a GenerateDataKeyPairWithoutPlaintextOutput
.
Trait Implementations§
source§impl Clone for GenerateDataKeyPairWithoutPlaintextOutputBuilder
impl Clone for GenerateDataKeyPairWithoutPlaintextOutputBuilder
source§fn clone(&self) -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
fn clone(&self) -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GenerateDataKeyPairWithoutPlaintextOutputBuilder
impl Default for GenerateDataKeyPairWithoutPlaintextOutputBuilder
source§fn default() -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
fn default() -> GenerateDataKeyPairWithoutPlaintextOutputBuilder
source§impl PartialEq for GenerateDataKeyPairWithoutPlaintextOutputBuilder
impl PartialEq for GenerateDataKeyPairWithoutPlaintextOutputBuilder
source§fn eq(&self, other: &GenerateDataKeyPairWithoutPlaintextOutputBuilder) -> bool
fn eq(&self, other: &GenerateDataKeyPairWithoutPlaintextOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.