org.jclouds.vcloud.director.v1_5.domain
Class SessionWithToken
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.SessionWithToken
public class SessionWithToken
- extends Object
Session and its corresponding token
- Author:
- Adrian Cole
SessionWithToken
protected SessionWithToken(String token,
Session session)
SessionWithToken
protected SessionWithToken()
builder
public static SessionWithToken.Builder builder()
toBuilder
public SessionWithToken.Builder toBuilder()
getSession
public Session getSession()
- TODO
getToken
public String getToken()
- An object reference, expressed in URL format. Because this URL includes the object identifier
portion of the id attribute value, it uniquely identifies the object, persists for the life of
the object, and is never reused. The value of the token attribute is a reference to a view of
the object, and can be used to access a representation of the object that is valid in a
particular context. Although URLs have a well-known syntax and a well-understood
interpretation, a api should treat each token as an opaque string. The rules that govern
how the server constructs token strings might change in future releases.
- Returns:
- an opaque reference and should never be parsed
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2009-2012 jclouds. All Rights Reserved.