org.jclouds.cloudstack.options
Class UpdateUserOptions
java.lang.Object
org.jclouds.http.options.BaseHttpRequestOptions
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:
Methods inherited from class org.jclouds.http.options.BaseHttpRequestOptions |
buildFormParameters, buildMatrixParameters, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstMatrixOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString |
NONE
public static final UpdateUserOptions NONE
UpdateUserOptions
public UpdateUserOptions()
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.