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 |
protected Tenant |
tenant |
Constructor and Description |
---|
Token(String id,
Date expires,
Tenant tenant) |
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
|
Tenant |
getTenant() |
int |
hashCode() |
Token.Builder |
toBuilder() |
String |
toString() |
protected final String id
protected final Date expires
protected final Tenant tenant
public static Token.Builder builder()
public Token.Builder toBuilder()
public String getId()
public Date getExpires()
public Tenant getTenant()
public int compareTo(Token that)
compareTo
in interface Comparable<Token>
Copyright © 2009-2012 jclouds. All Rights Reserved.