Struct aws_sdk_transfer::types::DescribedHostKey
source · #[non_exhaustive]pub struct DescribedHostKey {
pub arn: String,
pub host_key_id: Option<String>,
pub host_key_fingerprint: Option<String>,
pub description: Option<String>,
pub type: Option<String>,
pub date_imported: Option<DateTime>,
pub tags: Option<Vec<Tag>>,
}
Expand description
The details for a server host key.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.arn: String
The unique Amazon Resource Name (ARN) for the host key.
host_key_id: Option<String>
A unique identifier for the host key.
host_key_fingerprint: Option<String>
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
description: Option<String>
The text description for this host key.
type: 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
date_imported: Option<DateTime>
The date on which the host key was added to the server.
Key-value pairs that can be used to group and search for host keys.
Implementations§
source§impl DescribedHostKey
impl DescribedHostKey
sourcepub fn host_key_id(&self) -> Option<&str>
pub fn host_key_id(&self) -> Option<&str>
A unique identifier for the host key.
sourcepub fn host_key_fingerprint(&self) -> Option<&str>
pub fn host_key_fingerprint(&self) -> Option<&str>
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The text description for this host key.
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
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) -> Option<&DateTime>
pub fn date_imported(&self) -> Option<&DateTime>
The date on which the host key was added to the server.
Key-value pairs that can be used to group and search for host keys.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl DescribedHostKey
impl DescribedHostKey
sourcepub fn builder() -> DescribedHostKeyBuilder
pub fn builder() -> DescribedHostKeyBuilder
Creates a new builder-style object to manufacture DescribedHostKey
.
Trait Implementations§
source§impl Clone for DescribedHostKey
impl Clone for DescribedHostKey
source§fn clone(&self) -> DescribedHostKey
fn clone(&self) -> DescribedHostKey
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribedHostKey
impl Debug for DescribedHostKey
source§impl PartialEq for DescribedHostKey
impl PartialEq for DescribedHostKey
source§fn eq(&self, other: &DescribedHostKey) -> bool
fn eq(&self, other: &DescribedHostKey) -> bool
self
and other
values to be equal, and is used
by ==
.