@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's specified.
Constructor and Description |
---|
ListedHostKey() |
Modifier and Type | Method and Description |
---|---|
ListedHostKey |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
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()
A unique identifier for the host key.
|
String |
getType()
The encryption algorithm that is used for the host key.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArn(String arn)
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)
A unique identifier for the host key.
|
void |
setType(String type)
The encryption algorithm that is used for the host key.
|
String |
toString()
Returns a string representation of this object.
|
ListedHostKey |
withArn(String arn)
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)
A unique identifier for the host key.
|
ListedHostKey |
withType(String type)
The encryption algorithm that is used for the host key.
|
public void setArn(String arn)
The unique Amazon Resource Name (ARN) of the host key.
arn
- The unique Amazon Resource Name (ARN) of the host key.public String getArn()
The unique Amazon Resource Name (ARN) of the host key.
public ListedHostKey withArn(String arn)
The unique Amazon Resource Name (ARN) of the host key.
arn
- The unique Amazon Resource Name (ARN) of the host key.public void setHostKeyId(String hostKeyId)
A unique identifier for the host key.
hostKeyId
- A unique identifier for the host key.public String getHostKeyId()
A unique identifier for the host key.
public ListedHostKey withHostKeyId(String hostKeyId)
A unique identifier for the host key.
hostKeyId
- A unique identifier for the host key.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 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
type
- 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
public String getType()
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
Type
parameter is specified by
using 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 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
type
- 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
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 Object
Object.toString()
public ListedHostKey clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.