Class GetLicenseRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
public final class GetLicenseRequest extends RequestBase
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGetLicenseRequest.BuilderBuilder forGetLicenseRequest.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetLicenseRequest,GetLicenseResponse,ElasticsearchError>ENDPOINTEndpoint "license.get". -
Constructor Summary
Constructors Constructor Description GetLicenseRequest(GetLicenseRequest.Builder builder)GetLicenseRequest(java.util.function.Function<GetLicenseRequest.Builder,GetLicenseRequest.Builder> fn) -
Method Summary
Modifier and Type Method Description java.lang.BooleanacceptEnterprise()If the active license is an enterprise license, return type as 'enterprise' (default: false)java.lang.Booleanlocal()Return local information, do not retrieve the state from master node (default: false)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
ENDPOINT
Endpoint "license.get".
-
-
Constructor Details
-
GetLicenseRequest
-
GetLicenseRequest
public GetLicenseRequest(java.util.function.Function<GetLicenseRequest.Builder,GetLicenseRequest.Builder> fn)
-
-
Method Details
-
acceptEnterprise
@Nullable public java.lang.Boolean acceptEnterprise()If the active license is an enterprise license, return type as 'enterprise' (default: false)API name:
accept_enterprise -
local
@Nullable public java.lang.Boolean local()Return local information, do not retrieve the state from master node (default: false)API name:
local
-