public class Key extends Object implements Comparable<Key>
Modifier and Type | Class and Description |
---|---|
static class |
Key.Builder |
Modifier and Type | Field and Description |
---|---|
protected Date |
created |
protected String |
key |
protected String |
name |
Constructor and Description |
---|
Key(String name,
String key,
Date created) |
Modifier and Type | Method and Description |
---|---|
static Key.Builder |
builder() |
int |
compareTo(Key that) |
boolean |
equals(Object object) |
String |
get()
OpenSSH formatted public key
|
Date |
getCreated()
Date the key was created
|
String |
getName()
Name for this key
|
int |
hashCode() |
Key.Builder |
toBuilder() |
String |
toString() |
protected final String name
protected final String key
protected final transient Date created
@ConstructorProperties(value={"name","key","created"}) public Key(String name, String key, Date created)
public static Key.Builder builder()
public Key.Builder toBuilder()
public String getName()
public String get()
public Date getCreated()
public int compareTo(Key that)
compareTo
in interface Comparable<Key>
Copyright © 2009-2013 jclouds. All Rights Reserved.