public class Token extends Object implements Comparable<Token>
Modifier and Type | Class and Description |
---|---|
static class |
Token.Builder |
Modifier and Type | Field and Description |
---|---|
protected Date |
expires |
protected String |
id |
Modifier | Constructor and Description |
---|---|
protected |
Token() |
|
Token(String id,
Date expires) |
Modifier and Type | Method and Description |
---|---|
static Token.Builder |
builder() |
int |
compareTo(Token that) |
boolean |
equals(Object object) |
Date |
getExpires() |
String |
getId()
When providing an ID, it is assumed that the token exists in the current
OpenStack deployment
|
int |
hashCode() |
Token.Builder |
toBuilder() |
String |
toString() |
public static Token.Builder builder()
public Token.Builder toBuilder()
public String getId()
public Date getExpires()
public int compareTo(Token that)
compareTo
in interface Comparable<Token>
Copyright © 2009-2013 jclouds. All Rights Reserved.