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 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.
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<KeyPairBuilder> for KeyPairBuilder
impl PartialEq<KeyPairBuilder> 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 ==.