Struct aws_sdk_iot::model::key_pair::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for KeyPair
.
Implementations§
source§impl Builder
impl Builder
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.