Class GetLicenseRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetLicenseRequest>
- Enclosing class:
- GetLicenseRequest
public static class GetLicenseRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetLicenseRequest>
Builder for
GetLicenseRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetLicenseRequest.BuilderacceptEnterprise(java.lang.Boolean value)If the active license is an enterprise license, return type as 'enterprise' (default: false)GetLicenseRequestbuild()Builds aGetLicenseRequest.GetLicenseRequest.Builderlocal(java.lang.Boolean value)Return local information, do not retrieve the state from master node (default: false)Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptEnterprise
If the active license is an enterprise license, return type as 'enterprise' (default: false)API name:
accept_enterprise -
local
Return local information, do not retrieve the state from master node (default: false)API name:
local -
build
Builds aGetLicenseRequest.- Specified by:
buildin interfaceObjectBuilder<GetLicenseRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-