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

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

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


Nested Class Summary
static class UpdateUserOptions.Builder
           
 
Constructor Summary
UpdateUserOptions()
           
 
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)
           
 UpdateUserOptions email(String email)
           
 UpdateUserOptions enabled(boolean enabled)
           
 boolean equals(Object object)
           
 String getEmail()
          Gets the user e-mail
 String getName()
          Gets the default user name
 String getPassword()
          Gets the default password
 int hashCode()
           
 boolean isEnabled()
           
 UpdateUserOptions name(String name)
          A name can be defined when updating an user.
 UpdateUserOptions password(String password)
           
protected  com.google.common.base.Objects.ToStringHelper string()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UpdateUserOptions

public UpdateUserOptions()
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

getName

public String getName()
Gets the default user name


name

public UpdateUserOptions name(String name)
A name can be defined when updating an user.


getPassword

public String getPassword()
Gets the default password


password

public UpdateUserOptions password(String password)

getEmail

public String getEmail()
Gets the user e-mail


email

public UpdateUserOptions email(String email)
See Also:
getEmail()

isEnabled

public boolean isEnabled()

enabled

public UpdateUserOptions 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.