Class CreateUserOptions
- java.lang.Object
-
- org.jclouds.openstack.keystone.v2_0.options.CreateUserOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateUserOptions.Builder
-
Constructor Summary
Constructors Constructor Description CreateUserOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R extends HttpRequest>
RbindToRequest(R request, Object input)
<R extends HttpRequest>
RbindToRequest(R request, Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.CreateUserOptions
email(String email)
CreateUserOptions
enabled(boolean enabled)
boolean
equals(Object object)
String
getEmail()
Gets the user e-mailString
getTenant()
Gets the default user tenantint
hashCode()
boolean
isEnabled()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
CreateUserOptions
tenant(String tenant)
A default tenant can be defined when creating an user.String
toString()
-
-
-
Method Detail
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
Description copied from interface:MapBinder
creates and binds the POST payload to the request using parameters specified.- Specified by:
bindToRequest
in interfaceMapBinder
- See Also:
PayloadParam
-
getTenant
public String getTenant()
Gets the default user tenant
-
tenant
public CreateUserOptions tenant(String tenant)
A default tenant can be defined when creating an user.
-
getEmail
public String getEmail()
Gets the user e-mail
-
email
public CreateUserOptions email(String email)
- See Also:
getEmail()
-
isEnabled
public boolean isEnabled()
-
enabled
public CreateUserOptions enabled(boolean enabled)
-
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request, Object input)
- Specified by:
bindToRequest
in interfaceBinder
-
-