@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublicKeySummary extends Object implements Serializable, Cloneable
Contains information about a public key.
Constructor and Description |
---|
PublicKeySummary() |
Modifier and Type | Method and Description |
---|---|
PublicKeySummary |
clone() |
boolean |
equals(Object obj) |
String |
getComment()
A comment to describe the public key.
|
Date |
getCreatedTime()
The date and time when the public key was uploaded.
|
String |
getEncodedKey()
The public key.
|
String |
getId()
The identifier of the public key.
|
String |
getName()
A name to help identify the public key.
|
int |
hashCode() |
void |
setComment(String comment)
A comment to describe the public key.
|
void |
setCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
|
void |
setEncodedKey(String encodedKey)
The public key.
|
void |
setId(String id)
The identifier of the public key.
|
void |
setName(String name)
A name to help identify the public key.
|
String |
toString()
Returns a string representation of this object.
|
PublicKeySummary |
withComment(String comment)
A comment to describe the public key.
|
PublicKeySummary |
withCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
|
PublicKeySummary |
withEncodedKey(String encodedKey)
The public key.
|
PublicKeySummary |
withId(String id)
The identifier of the public key.
|
PublicKeySummary |
withName(String name)
A name to help identify the public key.
|
public void setId(String id)
The identifier of the public key.
id
- The identifier of the public key.public String getId()
The identifier of the public key.
public PublicKeySummary withId(String id)
The identifier of the public key.
id
- The identifier of the public key.public void setName(String name)
A name to help identify the public key.
name
- A name to help identify the public key.public String getName()
A name to help identify the public key.
public PublicKeySummary withName(String name)
A name to help identify the public key.
name
- A name to help identify the public key.public void setCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
createdTime
- The date and time when the public key was uploaded.public Date getCreatedTime()
The date and time when the public key was uploaded.
public PublicKeySummary withCreatedTime(Date createdTime)
The date and time when the public key was uploaded.
createdTime
- The date and time when the public key was uploaded.public void setEncodedKey(String encodedKey)
The public key.
encodedKey
- The public key.public String getEncodedKey()
The public key.
public PublicKeySummary withEncodedKey(String encodedKey)
The public key.
encodedKey
- The public key.public void setComment(String comment)
A comment to describe the public key. The comment cannot be longer than 128 characters.
comment
- A comment to describe the public key. The comment cannot be longer than 128 characters.public String getComment()
A comment to describe the public key. The comment cannot be longer than 128 characters.
public PublicKeySummary withComment(String comment)
A comment to describe the public key. The comment cannot be longer than 128 characters.
comment
- A comment to describe the public key. The comment cannot be longer than 128 characters.public String toString()
toString
in class Object
Object.toString()
public PublicKeySummary clone()