Package 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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UpdateUserOptions.Builder
-
Field Summary
Fields Modifier and Type Field Description static UpdateUserOptions
NONE
-
Fields inherited from class org.jclouds.http.options.BaseHttpRequestOptions
formParameters, headers, pathSuffix, payload, queryParameters
-
-
Constructor Summary
Constructors Constructor Description UpdateUserOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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, buildPathSuffix, buildQueryParameters, buildRequestHeaders, buildStringPayload, equals, getFirstFormOrNull, getFirstHeaderOrNull, getFirstQueryOrNull, hashCode, replaceHeader, toString
-
-
-
-
Field Detail
-
NONE
public static final UpdateUserOptions NONE
-
-
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
-
-