org.jclouds.openstack.keystone.v2_0.options
Class CreateUserOptions
java.lang.Object
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
CreateUserOptions
public CreateUserOptions()
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.