org.jclouds.openstack.keystone.v2_0.options
Class CreateUserOptions

java.lang.Object
  extended by org.jclouds.openstack.keystone.v2_0.options.CreateUserOptions
All Implemented Interfaces:
org.jclouds.rest.Binder, org.jclouds.rest.MapBinder

public class CreateUserOptions
extends Object
implements org.jclouds.rest.MapBinder


Nested Class Summary
static class CreateUserOptions.Builder
           
 
Constructor Summary
CreateUserOptions()
           
 
Method Summary
<R extends org.jclouds.http.HttpRequest>
R
bindToRequest(R request, Map<String,Object> postParams)
           
<R extends org.jclouds.http.HttpRequest>
R
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()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CreateUserOptions

public CreateUserOptions()
Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

string

protected com.google.common.base.Objects.ToStringHelper string()

toString

public String toString()
Overrides:
toString in class Object

bindToRequest

public <R extends org.jclouds.http.HttpRequest> R bindToRequest(R request,
                                                                Map<String,Object> postParams)
Specified by:
bindToRequest in interface org.jclouds.rest.MapBinder

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 org.jclouds.http.HttpRequest> R bindToRequest(R request,
                                                                Object input)
Specified by:
bindToRequest in interface org.jclouds.rest.Binder


Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.