#[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 ==
.impl StructuralPartialEq for CreateKeyPairOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateKeyPairOutputBuilder
impl RefUnwindSafe for CreateKeyPairOutputBuilder
impl Send for CreateKeyPairOutputBuilder
impl Sync for CreateKeyPairOutputBuilder
impl Unpin for CreateKeyPairOutputBuilder
impl UnwindSafe for CreateKeyPairOutputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more