Modifier and Type | Class and Description |
---|---|
static class |
UpdateTenantOptions.Builder |
Constructor and Description |
---|
UpdateTenantOptions() |
Modifier and Type | Method and Description |
---|---|
<R extends HttpRequest> |
bindToRequest(R request,
Map<String,Object> postParams)
creates and binds the POST payload to the request using parameters specified.
|
<R extends HttpRequest> |
bindToRequest(R request,
Object input) |
UpdateTenantOptions |
description(String description)
A description can be defined when creating a tenant.
|
UpdateTenantOptions |
enabled(boolean enabled) |
boolean |
equals(Object object) |
String |
getDescription()
Gets the default tenant description
|
String |
getName() |
int |
hashCode() |
boolean |
isEnabled() |
UpdateTenantOptions |
name(String name) |
protected com.google.common.base.Objects.ToStringHelper |
string() |
String |
toString() |
protected com.google.common.base.Objects.ToStringHelper string()
public <R extends HttpRequest> R bindToRequest(R request, Map<String,Object> postParams)
MapBinder
bindToRequest
in interface MapBinder
PayloadParam
public String getDescription()
public UpdateTenantOptions description(String description)
public boolean isEnabled()
public UpdateTenantOptions enabled(boolean enabled)
public UpdateTenantOptions name(String name)
public String getName()
public <R extends HttpRequest> R bindToRequest(R request, Object input)
bindToRequest
in interface Binder
Copyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.