#[non_exhaustive]pub struct ImportKeyPairOutputBuilder { /* private fields */ }Expand description
A builder for ImportKeyPairOutput.
Implementations§
source§impl ImportKeyPairOutputBuilder
impl ImportKeyPairOutputBuilder
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 MD5 public key fingerprint as specified in section 4 of RFC 4716.
-
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 MD5 public key fingerprint as specified in section 4 of RFC 4716.
-
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 MD5 public key fingerprint as specified in section 4 of RFC 4716.
-
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_name(self, input: Option<String>) -> Self
pub fn set_key_name(self, input: Option<String>) -> Self
The key pair name that you provided.
sourcepub fn get_key_name(&self) -> &Option<String>
pub fn get_key_name(&self) -> &Option<String>
The key pair name that you provided.
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 resulting 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 resulting key pair.
sourcepub fn get_key_pair_id(&self) -> &Option<String>
pub fn get_key_pair_id(&self) -> &Option<String>
The ID of the resulting key pair.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags applied to the imported key pair.
The tags applied to the imported key pair.
The tags applied to the imported key pair.
sourcepub fn build(self) -> ImportKeyPairOutput
pub fn build(self) -> ImportKeyPairOutput
Consumes the builder and constructs a ImportKeyPairOutput.
Trait Implementations§
source§impl Clone for ImportKeyPairOutputBuilder
impl Clone for ImportKeyPairOutputBuilder
source§fn clone(&self) -> ImportKeyPairOutputBuilder
fn clone(&self) -> ImportKeyPairOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ImportKeyPairOutputBuilder
impl Debug for ImportKeyPairOutputBuilder
source§impl Default for ImportKeyPairOutputBuilder
impl Default for ImportKeyPairOutputBuilder
source§fn default() -> ImportKeyPairOutputBuilder
fn default() -> ImportKeyPairOutputBuilder
impl StructuralPartialEq for ImportKeyPairOutputBuilder
Auto Trait Implementations§
impl Freeze for ImportKeyPairOutputBuilder
impl RefUnwindSafe for ImportKeyPairOutputBuilder
impl Send for ImportKeyPairOutputBuilder
impl Sync for ImportKeyPairOutputBuilder
impl Unpin for ImportKeyPairOutputBuilder
impl UnwindSafe for ImportKeyPairOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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