Class GetLicenseRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetLicenseRequest.Builder>
co.elastic.clients.elasticsearch.license.GetLicenseRequest.Builder
- All Implemented Interfaces:
WithJson<GetLicenseRequest.Builder>,ObjectBuilder<GetLicenseRequest>
- Enclosing class:
- GetLicenseRequest
public static class GetLicenseRequest.Builder
extends RequestBase.AbstractBuilder<GetLicenseRequest.Builder>
implements ObjectBuilder<GetLicenseRequest>
Builder for
GetLicenseRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacceptEnterprise(Boolean value) Deprecated.7.6.0build()Builds aGetLicenseRequest.Specifies whether to retrieve local information.protected GetLicenseRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acceptEnterprise
Deprecated.7.6.0Iftrue, this parameter returns enterprise for Enterprise license types. Iffalse, this parameter returns platinum for both platinum and enterprise license types. This behavior is maintained for backwards compatibility. This parameter is deprecated and will always be set to true in 8.x.API name:
accept_enterprise -
local
Specifies whether to retrieve local information. The default value isfalse, which means the information is retrieved from the master node.API name:
local -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetLicenseRequest.Builder>
-
build
Builds aGetLicenseRequest.- Specified by:
buildin interfaceObjectBuilder<GetLicenseRequest>- Throws:
NullPointerException- if some of the required fields are null.
-