Modifier and Type | Class and Description |
---|---|
static class |
CreateUserOptions.Builder |
Constructor and Description |
---|
CreateUserOptions() |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object input) |
CreateUserOptions |
email(String email) |
CreateUserOptions |
enabled(boolean enabled) |
boolean |
equals(Object object) |
String |
getEmail()
Gets the user e-mail
|
String |
getTenant()
Gets the default user tenant
|
int |
hashCode() |
boolean |
isEnabled() |
protected com.google.common.base.Objects.ToStringHelper |
string() |
CreateUserOptions |
tenant(String tenant)
A default tenant can be defined when creating an user.
|
String |
toString() |
protected com.google.common.base.Objects.ToStringHelper string()
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public String getTenant()
public CreateUserOptions tenant(String tenant)
public String getEmail()
public CreateUserOptions email(String email)
getEmail()
public boolean isEnabled()
public CreateUserOptions enabled(boolean enabled)
public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest
in interface Binder
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.