Struct aws_sdk_iot::types::builders::KeyPairBuilder
source · #[non_exhaustive]pub struct KeyPairBuilder { /* private fields */ }
Expand description
A builder for KeyPair
.
Implementations§
source§impl KeyPairBuilder
impl KeyPairBuilder
sourcepub fn public_key(self, input: impl Into<String>) -> Self
pub fn public_key(self, input: impl Into<String>) -> Self
The public key.
sourcepub fn set_public_key(self, input: Option<String>) -> Self
pub fn set_public_key(self, input: Option<String>) -> Self
The public key.
sourcepub fn get_public_key(&self) -> &Option<String>
pub fn get_public_key(&self) -> &Option<String>
The public key.
sourcepub fn private_key(self, input: impl Into<String>) -> Self
pub fn private_key(self, input: impl Into<String>) -> Self
The private key.
sourcepub fn set_private_key(self, input: Option<String>) -> Self
pub fn set_private_key(self, input: Option<String>) -> Self
The private key.
sourcepub fn get_private_key(&self) -> &Option<String>
pub fn get_private_key(&self) -> &Option<String>
The private key.
Trait Implementations§
source§impl Clone for KeyPairBuilder
impl Clone for KeyPairBuilder
source§fn clone(&self) -> KeyPairBuilder
fn clone(&self) -> KeyPairBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for KeyPairBuilder
impl Debug for KeyPairBuilder
source§impl Default for KeyPairBuilder
impl Default for KeyPairBuilder
source§fn default() -> KeyPairBuilder
fn default() -> KeyPairBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for KeyPairBuilder
impl PartialEq for KeyPairBuilder
source§fn eq(&self, other: &KeyPairBuilder) -> bool
fn eq(&self, other: &KeyPairBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for KeyPairBuilder
Auto Trait Implementations§
impl Freeze for KeyPairBuilder
impl RefUnwindSafe for KeyPairBuilder
impl Send for KeyPairBuilder
impl Sync for KeyPairBuilder
impl Unpin for KeyPairBuilder
impl UnwindSafe for KeyPairBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.