org.jclouds.cloudstack.options
Class UpdateUserOptions

java.lang.Object
  extended by org.jclouds.http.options.BaseHttpRequestOptions
      extended by org.jclouds.cloudstack.options.UpdateUserOptions
All Implemented Interfaces:
HttpRequestOptions

public class UpdateUserOptions
extends BaseHttpRequestOptions

Optional arguments for updating an User

Author:
Andrei Savu
See Also:

Nested Class Summary
static class UpdateUserOptions.Builder
           
 
Field Summary
static UpdateUserOptions NONE
           
 
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, matrixParameters, pathSuffix, payload, queryParameters
 
Constructor Summary
UpdateUserOptions()
           
 
Method Summary
 UpdateUserOptions email(String email)
           
 UpdateUserOptions firstName(String firstName)
           
 UpdateUserOptions hashedPassword(String hashedPassword)
           
 UpdateUserOptions lastName(String lastName)
           
 UpdateUserOptions timezone(String timezone)
           
 UpdateUserOptions userApiKey(String userApiKey)
           
 UpdateUserOptions userName(String userName)
           
 UpdateUserOptions userSecretKey(String userSecretKey)
           
 
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

NONE

public static final UpdateUserOptions NONE
Constructor Detail

UpdateUserOptions

public UpdateUserOptions()
Method Detail

email

public UpdateUserOptions email(String email)
Parameters:
email - user email address

firstName

public UpdateUserOptions firstName(String firstName)
Parameters:
firstName - user account first name

lastName

public UpdateUserOptions lastName(String lastName)
Parameters:
lastName - user account last name

hashedPassword

public UpdateUserOptions hashedPassword(String hashedPassword)
Parameters:
hashedPassword - hashed password (default is MD5). If you wish to use any other hashing algorithm, you would need to write a custom authentication adapter

timezone

public UpdateUserOptions timezone(String timezone)
Parameters:
timezone - specifies a timezone for this command. For more information on the timezone parameter, see Time Zone Format.

userApiKey

public UpdateUserOptions userApiKey(String userApiKey)
Parameters:
userApiKey -

userSecretKey

public UpdateUserOptions userSecretKey(String userSecretKey)
Parameters:
userSecretKey -

userName

public UpdateUserOptions userName(String userName)
Parameters:
userName - unique user name


Copyright © 2009-2012 jclouds. All Rights Reserved.