#[non_exhaustive]pub struct CreateKeyPairOutputBuilder { /* private fields */ }
Expand description
A builder for CreateKeyPairOutput
.
Implementations§
source§impl CreateKeyPairOutputBuilder
impl CreateKeyPairOutputBuilder
sourcepub fn key_fingerprint(self, input: impl Into<String>) -> Self
pub fn key_fingerprint(self, input: impl Into<String>) -> Self
-
For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.
-
For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
sourcepub fn set_key_fingerprint(self, input: Option<String>) -> Self
pub fn set_key_fingerprint(self, input: Option<String>) -> Self
-
For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.
-
For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
sourcepub fn get_key_fingerprint(&self) -> &Option<String>
pub fn get_key_fingerprint(&self) -> &Option<String>
-
For RSA key pairs, the key fingerprint is the SHA-1 digest of the DER encoded private key.
-
For ED25519 key pairs, the key fingerprint is the base64-encoded SHA-256 digest, which is the default for OpenSSH, starting with OpenSSH 6.8.
sourcepub fn key_material(self, input: impl Into<String>) -> Self
pub fn key_material(self, input: impl Into<String>) -> Self
An unencrypted PEM encoded RSA or ED25519 private key.
sourcepub fn set_key_material(self, input: Option<String>) -> Self
pub fn set_key_material(self, input: Option<String>) -> Self
An unencrypted PEM encoded RSA or ED25519 private key.
sourcepub fn get_key_material(&self) -> &Option<String>
pub fn get_key_material(&self) -> &Option<String>
An unencrypted PEM encoded RSA or ED25519 private key.
sourcepub fn set_key_name(self, input: Option<String>) -> Self
pub fn set_key_name(self, input: Option<String>) -> Self
The name of the key pair.
sourcepub fn get_key_name(&self) -> &Option<String>
pub fn get_key_name(&self) -> &Option<String>
The name of the key pair.
sourcepub fn key_pair_id(self, input: impl Into<String>) -> Self
pub fn key_pair_id(self, input: impl Into<String>) -> Self
The ID of the key pair.
sourcepub fn set_key_pair_id(self, input: Option<String>) -> Self
pub fn set_key_pair_id(self, input: Option<String>) -> Self
The ID of the key pair.
sourcepub fn get_key_pair_id(&self) -> &Option<String>
pub fn get_key_pair_id(&self) -> &Option<String>
The ID of the key pair.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
Any tags applied to the key pair.
Any tags applied to the key pair.
Any tags applied to the key pair.
sourcepub fn build(self) -> CreateKeyPairOutput
pub fn build(self) -> CreateKeyPairOutput
Consumes the builder and constructs a CreateKeyPairOutput
.
Trait Implementations§
source§impl Clone for CreateKeyPairOutputBuilder
impl Clone for CreateKeyPairOutputBuilder
source§fn clone(&self) -> CreateKeyPairOutputBuilder
fn clone(&self) -> CreateKeyPairOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateKeyPairOutputBuilder
impl Debug for CreateKeyPairOutputBuilder
source§impl Default for CreateKeyPairOutputBuilder
impl Default for CreateKeyPairOutputBuilder
source§fn default() -> CreateKeyPairOutputBuilder
fn default() -> CreateKeyPairOutputBuilder
source§impl PartialEq for CreateKeyPairOutputBuilder
impl PartialEq for CreateKeyPairOutputBuilder
source§fn eq(&self, other: &CreateKeyPairOutputBuilder) -> bool
fn eq(&self, other: &CreateKeyPairOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.