public final class PublicKey extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Compute Accounts API. For a detailed explanation see: http://code.google.com/p/google-http-java-client/wiki/JSON
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
PublicKey() |
| Modifier and Type | Method and Description |
|---|---|
PublicKey |
clone() |
String |
getCreationTimestamp()
[Output Only] Creation timestamp in RFC3339 text format.
|
String |
getDescription()
An optional textual description of the resource; provided by the client when the resource is
created.
|
String |
getExpirationTimestamp()
Optional expiration timestamp.
|
String |
getFingerprint()
[Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the
public key.
|
String |
getKey()
Public key text in SSH format, defined by RFC4253 section 6.6.
|
PublicKey |
set(String fieldName,
Object value) |
PublicKey |
setCreationTimestamp(String creationTimestamp)
[Output Only] Creation timestamp in RFC3339 text format.
|
PublicKey |
setDescription(String description)
An optional textual description of the resource; provided by the client when the resource is
created.
|
PublicKey |
setExpirationTimestamp(String expirationTimestamp)
Optional expiration timestamp.
|
PublicKey |
setFingerprint(String fingerprint)
[Output Only] The fingerprint of the key is defined by RFC4716 to be the MD5 digest of the
public key.
|
PublicKey |
setKey(String key)
Public key text in SSH format, defined by RFC4253 section 6.6.
|
getFactory, setFactory, toPrettyString, toStringentrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, valuespublic String getCreationTimestamp()
null for nonepublic PublicKey setCreationTimestamp(String creationTimestamp)
creationTimestamp - creationTimestamp or null for nonepublic String getDescription()
null for nonepublic PublicKey setDescription(String description)
description - description or null for nonepublic String getExpirationTimestamp()
null for nonepublic PublicKey setExpirationTimestamp(String expirationTimestamp)
expirationTimestamp - expirationTimestamp or null for nonepublic String getFingerprint()
null for nonepublic PublicKey setFingerprint(String fingerprint)
fingerprint - fingerprint or null for nonepublic String getKey()
null for nonepublic PublicKey setKey(String key)
key - key or null for nonepublic PublicKey set(String fieldName, Object value)
set in class GenericJsonpublic PublicKey clone()
clone in class GenericJson