public class Token extends Object implements Comparable<Token>
Modifier and Type | Class and Description |
---|---|
static class |
Token.Builder<T extends Token.Builder<T>> |
Modifier | Constructor and Description |
---|---|
protected |
Token(String id,
Date expires,
com.google.common.base.Optional<Tenant> tenant) |
Modifier and Type | Method and Description |
---|---|
static Token.Builder<?> |
builder() |
int |
compareTo(Token that) |
boolean |
equals(Object obj) |
Date |
getExpires() |
String |
getId()
When providing an ID, it is assumed that the token exists in the current OpenStack deployment
|
com.google.common.base.Optional<Tenant> |
getTenant() |
int |
hashCode() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
Token.Builder<?> |
toBuilder() |
String |
toString() |
public static Token.Builder<?> builder()
public Token.Builder<?> toBuilder()
public String getId()
public Date getExpires()
public com.google.common.base.Optional<Tenant> getTenant()
protected com.google.common.base.Objects.ToStringHelper string()
public int compareTo(Token that)
compareTo
in interface Comparable<Token>
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.