@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListedHostKey extends Object implements Serializable, Cloneable, StructuredPojo
Returns properties of the host key that is specified.
| Constructor and Description |
|---|
ListedHostKey() |
| Modifier and Type | Method and Description |
|---|---|
ListedHostKey |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
Specifies the unique Amazon Resource Name (ARN) of the host key.
|
Date |
getDateImported()
The date on which the host key was added to the server.
|
String |
getDescription()
The current description for the host key.
|
String |
getFingerprint()
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
|
String |
getHostKeyId()
|
String |
getType()
The encryption algorithm used for the host key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the host key.
|
void |
setDateImported(Date dateImported)
The date on which the host key was added to the server.
|
void |
setDescription(String description)
The current description for the host key.
|
void |
setFingerprint(String fingerprint)
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
|
void |
setHostKeyId(String hostKeyId)
|
void |
setType(String type)
The encryption algorithm used for the host key.
|
String |
toString()
Returns a string representation of this object.
|
ListedHostKey |
withArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the host key.
|
ListedHostKey |
withDateImported(Date dateImported)
The date on which the host key was added to the server.
|
ListedHostKey |
withDescription(String description)
The current description for the host key.
|
ListedHostKey |
withFingerprint(String fingerprint)
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
|
ListedHostKey |
withHostKeyId(String hostKeyId)
|
ListedHostKey |
withType(String type)
The encryption algorithm used for the host key.
|
public void setArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the host key.
arn - Specifies the unique Amazon Resource Name (ARN) of the host key.public String getArn()
Specifies the unique Amazon Resource Name (ARN) of the host key.
public ListedHostKey withArn(String arn)
Specifies the unique Amazon Resource Name (ARN) of the host key.
arn - Specifies the unique Amazon Resource Name (ARN) of the host key.public void setHostKeyId(String hostKeyId)
hostKeyId - public String getHostKeyId()
public ListedHostKey withHostKeyId(String hostKeyId)
hostKeyId - public void setFingerprint(String fingerprint)
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
fingerprint - The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.public String getFingerprint()
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
public ListedHostKey withFingerprint(String fingerprint)
The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.
fingerprint - The public key fingerprint, which is a short sequence of bytes used to identify the longer public key.public void setDescription(String description)
The current description for the host key. You can change it by calling the UpdateHostKey operation
and providing a new description.
description - The current description for the host key. You can change it by calling the UpdateHostKey
operation and providing a new description.public String getDescription()
The current description for the host key. You can change it by calling the UpdateHostKey operation
and providing a new description.
UpdateHostKey
operation and providing a new description.public ListedHostKey withDescription(String description)
The current description for the host key. You can change it by calling the UpdateHostKey operation
and providing a new description.
description - The current description for the host key. You can change it by calling the UpdateHostKey
operation and providing a new description.public void setType(String type)
The encryption algorithm used for the host key. The Type is one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
type - The encryption algorithm used for the host key. The Type is one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
public String getType()
The encryption algorithm used for the host key. The Type is one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
Type is one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
public ListedHostKey withType(String type)
The encryption algorithm used for the host key. The Type is one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
type - The encryption algorithm used for the host key. The Type is one of the following values:
ssh-rsa
ssh-ed25519
ecdsa-sha2-nistp256
ecdsa-sha2-nistp384
ecdsa-sha2-nistp521
public void setDateImported(Date dateImported)
The date on which the host key was added to the server.
dateImported - The date on which the host key was added to the server.public Date getDateImported()
The date on which the host key was added to the server.
public ListedHostKey withDateImported(Date dateImported)
The date on which the host key was added to the server.
dateImported - The date on which the host key was added to the server.public String toString()
toString in class ObjectObject.toString()public ListedHostKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.