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

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

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


Nested Class Summary
static class CreateTenantOptions.Builder
           
 
Constructor Summary
CreateTenantOptions()
           
 
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)
           
 CreateTenantOptions description(String description)
          A description can be defined when creating a tenant.
 CreateTenantOptions enabled(boolean enabled)
           
 boolean equals(Object object)
           
 String getDescription()
          Gets the default tenant description
 int hashCode()
           
 boolean isEnabled()
           
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

CreateTenantOptions

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

getDescription

public String getDescription()
Gets the default tenant description


description

public CreateTenantOptions description(String description)
A description can be defined when creating a tenant.


isEnabled

public boolean isEnabled()

enabled

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