Class GetLicenseRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.license.GetLicenseRequest
public class GetLicenseRequest extends RequestBase
Retrieves licensing information for the cluster
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetLicenseRequest.Builder
Builder 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,ErrorResponse>
_ENDPOINT
Endpoint "license.get
". -
Method Summary
Modifier and Type Method Description java.lang.Boolean
acceptEnterprise()
If the active license is an enterprise license, return type as 'enterprise' (default: false)java.lang.Boolean
local()
Return local information, do not retrieve the state from master node (default: false)static GetLicenseRequest
of(java.util.function.Function<GetLicenseRequest.Builder,ObjectBuilder<GetLicenseRequest>> fn)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "license.get
".
-
-
Method Details
-
of
public static GetLicenseRequest of(java.util.function.Function<GetLicenseRequest.Builder,ObjectBuilder<GetLicenseRequest>> fn) -
acceptEnterprise
@Nullable public final 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 final java.lang.Boolean local()Return local information, do not retrieve the state from master node (default: false)API name:
local
-