org.jclouds.vcloud.director.v1_5.domain
Class Session
java.lang.Object
org.jclouds.vcloud.director.v1_5.domain.Session
public class Session
- extends Object
Returns a representation of the current session that can serve as a single entry point to the
system, as it provides user, admin, and extension (sysadmin) entry links depending on the
privileges of the current user.
- Author:
- Adrian Cole
MEDIA_TYPE
public static final String MEDIA_TYPE
- See Also:
- Constant Field Values
builder
public static Session.Builder builder()
toBuilder
public Session.Builder toBuilder()
getLinks
public Set<Link> getLinks()
getUser
public String getUser()
- Returns:
- the user's login name.
getOrg
public String getOrg()
- Returns:
- is the name of an organization of which the user is a member
getHref
public URI getHref()
- Returns:
- a reference to the current session
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.