Class CreateUserOptions
- java.lang.Object
-
- org.jclouds.openstack.keystone.v2_0.options.CreateUserOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCreateUserOptions.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.CreateUserOptionsemail(String email)CreateUserOptionsenabled(boolean enabled)booleanequals(Object object)StringgetEmail()Gets the user e-mailStringgetTenant()Gets the default user tenantinthashCode()booleanisEnabled()protected com.google.common.base.MoreObjects.ToStringHelperstring()CreateUserOptionstenant(String tenant)A default tenant can be defined when creating an user.StringtoString()
-
-
-
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:MapBindercreates and binds the POST payload to the request using parameters specified.- Specified by:
bindToRequestin 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:
bindToRequestin interfaceBinder
-
-