Class CreateTenantOptions
- java.lang.Object
-
- org.jclouds.openstack.keystone.v2_0.options.CreateTenantOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CreateTenantOptions.Builder
-
Constructor Summary
Constructors Constructor Description CreateTenantOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R extends HttpRequest>
RbindToRequest(R request, Object input)
<R extends HttpRequest>
RbindToRequest(R request, Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.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 descriptionint
hashCode()
boolean
isEnabled()
protected com.google.common.base.MoreObjects.ToStringHelper
string()
String
toString()
-
-
-
Method Detail
-
string
protected com.google.common.base.MoreObjects.ToStringHelper string()
-
bindToRequest
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
Description copied from interface:MapBinder
creates and binds the POST payload to the request using parameters specified.- Specified by:
bindToRequest
in interfaceMapBinder
- See Also:
PayloadParam
-
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 HttpRequest> R bindToRequest(R request, Object input)
- Specified by:
bindToRequest
in interfaceBinder
-
-