Struct aws_sdk_transfer::types::builders::DescribedHostKeyBuilder
source · #[non_exhaustive]pub struct DescribedHostKeyBuilder { /* private fields */ }Expand description
A builder for DescribedHostKey.
Implementations§
source§impl DescribedHostKeyBuilder
impl DescribedHostKeyBuilder
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The unique Amazon Resource Name (ARN) for the host key.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The unique Amazon Resource Name (ARN) for the host key.
sourcepub fn get_arn(&self) -> &Option<String>
pub fn get_arn(&self) -> &Option<String>
The unique Amazon Resource Name (ARN) for the host key.
sourcepub fn host_key_id(self, input: impl Into<String>) -> Self
pub fn host_key_id(self, input: impl Into<String>) -> Self
A unique identifier for the host key.
sourcepub fn set_host_key_id(self, input: Option<String>) -> Self
pub fn set_host_key_id(self, input: Option<String>) -> Self
A unique identifier for the host key.
sourcepub fn get_host_key_id(&self) -> &Option<String>
pub fn get_host_key_id(&self) -> &Option<String>
A unique identifier for the host key.
sourcepub fn host_key_fingerprint(self, input: impl Into<String>) -> Self
pub fn host_key_fingerprint(self, input: impl Into<String>) -> Self
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
sourcepub fn set_host_key_fingerprint(self, input: Option<String>) -> Self
pub fn set_host_key_fingerprint(self, input: Option<String>) -> Self
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
sourcepub fn get_host_key_fingerprint(&self) -> &Option<String>
pub fn get_host_key_fingerprint(&self) -> &Option<String>
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The text description for this host key.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The text description for this host key.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The text description for this host key.
sourcepub fn type(self, input: impl Into<String>) -> Self
pub fn type(self, input: impl Into<String>) -> Self
The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values:
-
ssh-rsa -
ssh-ed25519 -
ecdsa-sha2-nistp256 -
ecdsa-sha2-nistp384 -
ecdsa-sha2-nistp521
sourcepub fn set_type(self, input: Option<String>) -> Self
pub fn set_type(self, input: Option<String>) -> Self
The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values:
-
ssh-rsa -
ssh-ed25519 -
ecdsa-sha2-nistp256 -
ecdsa-sha2-nistp384 -
ecdsa-sha2-nistp521
sourcepub fn get_type(&self) -> &Option<String>
pub fn get_type(&self) -> &Option<String>
The encryption algorithm that is used for the host key. The Type parameter is specified by using one of the following values:
-
ssh-rsa -
ssh-ed25519 -
ecdsa-sha2-nistp256 -
ecdsa-sha2-nistp384 -
ecdsa-sha2-nistp521
sourcepub fn date_imported(self, input: DateTime) -> Self
pub fn date_imported(self, input: DateTime) -> Self
The date on which the host key was added to the server.
sourcepub fn set_date_imported(self, input: Option<DateTime>) -> Self
pub fn set_date_imported(self, input: Option<DateTime>) -> Self
The date on which the host key was added to the server.
sourcepub fn get_date_imported(&self) -> &Option<DateTime>
pub fn get_date_imported(&self) -> &Option<DateTime>
The date on which the host key was added to the server.
Appends an item to tags.
To override the contents of this collection use set_tags.
Key-value pairs that can be used to group and search for host keys.
Key-value pairs that can be used to group and search for host keys.
Key-value pairs that can be used to group and search for host keys.
sourcepub fn build(self) -> DescribedHostKey
pub fn build(self) -> DescribedHostKey
Consumes the builder and constructs a DescribedHostKey.
Trait Implementations§
source§impl Clone for DescribedHostKeyBuilder
impl Clone for DescribedHostKeyBuilder
source§fn clone(&self) -> DescribedHostKeyBuilder
fn clone(&self) -> DescribedHostKeyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribedHostKeyBuilder
impl Debug for DescribedHostKeyBuilder
source§impl Default for DescribedHostKeyBuilder
impl Default for DescribedHostKeyBuilder
source§fn default() -> DescribedHostKeyBuilder
fn default() -> DescribedHostKeyBuilder
source§impl PartialEq for DescribedHostKeyBuilder
impl PartialEq for DescribedHostKeyBuilder
source§fn eq(&self, other: &DescribedHostKeyBuilder) -> bool
fn eq(&self, other: &DescribedHostKeyBuilder) -> bool
self and other values to be equal, and is used
by ==.