Struct aws_sdk_transfer::types::builders::SshPublicKeyBuilder
source · #[non_exhaustive]pub struct SshPublicKeyBuilder { /* private fields */ }Expand description
A builder for SshPublicKey.
Implementations§
source§impl SshPublicKeyBuilder
impl SshPublicKeyBuilder
sourcepub fn date_imported(self, input: DateTime) -> Self
pub fn date_imported(self, input: DateTime) -> Self
Specifies the date that the public key was added to the Transfer Family user.
sourcepub fn set_date_imported(self, input: Option<DateTime>) -> Self
pub fn set_date_imported(self, input: Option<DateTime>) -> Self
Specifies the date that the public key was added to the Transfer Family user.
sourcepub fn get_date_imported(&self) -> &Option<DateTime>
pub fn get_date_imported(&self) -> &Option<DateTime>
Specifies the date that the public key was added to the Transfer Family user.
sourcepub fn ssh_public_key_body(self, input: impl Into<String>) -> Self
pub fn ssh_public_key_body(self, input: impl Into<String>) -> Self
Specifies the content of the SSH public key as specified by the PublicKeyId.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
sourcepub fn set_ssh_public_key_body(self, input: Option<String>) -> Self
pub fn set_ssh_public_key_body(self, input: Option<String>) -> Self
Specifies the content of the SSH public key as specified by the PublicKeyId.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
sourcepub fn get_ssh_public_key_body(&self) -> &Option<String>
pub fn get_ssh_public_key_body(&self) -> &Option<String>
Specifies the content of the SSH public key as specified by the PublicKeyId.
Transfer Family accepts RSA, ECDSA, and ED25519 keys.
sourcepub fn ssh_public_key_id(self, input: impl Into<String>) -> Self
pub fn ssh_public_key_id(self, input: impl Into<String>) -> Self
Specifies the SshPublicKeyId parameter contains the identifier of the public key.
sourcepub fn set_ssh_public_key_id(self, input: Option<String>) -> Self
pub fn set_ssh_public_key_id(self, input: Option<String>) -> Self
Specifies the SshPublicKeyId parameter contains the identifier of the public key.
sourcepub fn get_ssh_public_key_id(&self) -> &Option<String>
pub fn get_ssh_public_key_id(&self) -> &Option<String>
Specifies the SshPublicKeyId parameter contains the identifier of the public key.
sourcepub fn build(self) -> SshPublicKey
pub fn build(self) -> SshPublicKey
Consumes the builder and constructs a SshPublicKey.
Trait Implementations§
source§impl Clone for SshPublicKeyBuilder
impl Clone for SshPublicKeyBuilder
source§fn clone(&self) -> SshPublicKeyBuilder
fn clone(&self) -> SshPublicKeyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for SshPublicKeyBuilder
impl Debug for SshPublicKeyBuilder
source§impl Default for SshPublicKeyBuilder
impl Default for SshPublicKeyBuilder
source§fn default() -> SshPublicKeyBuilder
fn default() -> SshPublicKeyBuilder
source§impl PartialEq for SshPublicKeyBuilder
impl PartialEq for SshPublicKeyBuilder
source§fn eq(&self, other: &SshPublicKeyBuilder) -> bool
fn eq(&self, other: &SshPublicKeyBuilder) -> bool
self and other values to be equal, and is used
by ==.