#[non_exhaustive]pub struct CreateKeyPairOutputBuilder { /* private fields */ }
Expand description
A builder for CreateKeyPairOutput
.
Implementations§
source§impl CreateKeyPairOutputBuilder
impl CreateKeyPairOutputBuilder
sourcepub fn key_pair(self, input: KeyPair) -> Self
pub fn key_pair(self, input: KeyPair) -> Self
An array of key-value pairs containing information about the new key pair you just created.
sourcepub fn set_key_pair(self, input: Option<KeyPair>) -> Self
pub fn set_key_pair(self, input: Option<KeyPair>) -> Self
An array of key-value pairs containing information about the new key pair you just created.
sourcepub fn get_key_pair(&self) -> &Option<KeyPair>
pub fn get_key_pair(&self) -> &Option<KeyPair>
An array of key-value pairs containing information about the new key pair you just created.
sourcepub fn public_key_base64(self, input: impl Into<String>) -> Self
pub fn public_key_base64(self, input: impl Into<String>) -> Self
A base64-encoded public key of the ssh-rsa
type.
sourcepub fn set_public_key_base64(self, input: Option<String>) -> Self
pub fn set_public_key_base64(self, input: Option<String>) -> Self
A base64-encoded public key of the ssh-rsa
type.
sourcepub fn get_public_key_base64(&self) -> &Option<String>
pub fn get_public_key_base64(&self) -> &Option<String>
A base64-encoded public key of the ssh-rsa
type.
sourcepub fn private_key_base64(self, input: impl Into<String>) -> Self
pub fn private_key_base64(self, input: impl Into<String>) -> Self
A base64-encoded RSA private key.
sourcepub fn set_private_key_base64(self, input: Option<String>) -> Self
pub fn set_private_key_base64(self, input: Option<String>) -> Self
A base64-encoded RSA private key.
sourcepub fn get_private_key_base64(&self) -> &Option<String>
pub fn get_private_key_base64(&self) -> &Option<String>
A base64-encoded RSA private key.
sourcepub fn operation(self, input: Operation) -> Self
pub fn operation(self, input: Operation) -> Self
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
sourcepub fn set_operation(self, input: Option<Operation>) -> Self
pub fn set_operation(self, input: Option<Operation>) -> Self
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
sourcepub fn get_operation(&self) -> &Option<Operation>
pub fn get_operation(&self) -> &Option<Operation>
An array of objects that describe the result of the action, such as the status of the request, the timestamp of the request, and the resources affected by the request.
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