Class CreateTenantOptions

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

public class CreateTenantOptions extends Object implements MapBinder
  • Constructor Details

    • CreateTenantOptions

      public CreateTenantOptions()
  • Method Details

    • 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.MoreObjects.ToStringHelper string()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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 interface MapBinder
      See Also:
    • 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 interface Binder