public abstract static class LoginResponse.Builder<T extends LoginResponse.Builder<T>> extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
accountName |
protected Account.Type |
accountType |
protected String |
domainId |
protected String |
firstName |
protected String |
jSessionId |
protected String |
lastName |
protected String |
password |
protected boolean |
registered |
protected String |
sessionKey |
protected long |
timeout |
protected String |
timezone |
protected String |
timezoneOffset |
protected String |
userId |
protected String |
username |
Constructor and Description |
---|
LoginResponse.Builder() |
Modifier and Type | Method and Description |
---|---|
T |
accountName(String accountName) |
T |
accountType(Account.Type accountType) |
LoginResponse |
build() |
T |
domainId(String domainId) |
T |
firstName(String firstName) |
T |
fromLoginResponse(LoginResponse in) |
T |
jSessionId(String jSessionId) |
T |
lastName(String lastName) |
T |
password(String password) |
T |
registered(boolean registered) |
protected abstract T |
self() |
T |
sessionKey(String sessionKey) |
T |
timeout(long timeout) |
T |
timezone(String timezone) |
T |
timezoneOffset(String timezoneOffset) |
T |
userId(String userId) |
T |
username(String username) |
protected String username
protected String userId
protected String password
protected String domainId
protected long timeout
protected boolean registered
protected String accountName
protected String firstName
protected String lastName
protected Account.Type accountType
protected String timezone
protected String timezoneOffset
protected String sessionKey
protected String jSessionId
protected abstract T self()
public T username(String username)
LoginResponse.getUsername()
public T userId(String userId)
LoginResponse.getUserId()
public T password(String password)
LoginResponse.getPassword()
public T domainId(String domainId)
LoginResponse.getDomainId()
public T timeout(long timeout)
LoginResponse.getTimeout()
public T registered(boolean registered)
LoginResponse.isRegistered()
public T accountName(String accountName)
LoginResponse.getAccountName()
public T firstName(String firstName)
LoginResponse.getFirstName()
public T lastName(String lastName)
LoginResponse.getLastName()
public T accountType(Account.Type accountType)
LoginResponse.getAccountType()
public T timezone(String timezone)
LoginResponse.getTimezone()
public T timezoneOffset(String timezoneOffset)
LoginResponse.getTimezoneOffset()
public T sessionKey(String sessionKey)
LoginResponse.getSessionKey()
public T jSessionId(String jSessionId)
LoginResponse.getJSessionId()
public LoginResponse build()
public T fromLoginResponse(LoginResponse in)
Copyright © 2009-2013 jclouds. All Rights Reserved.