Class GetRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.license.GetRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetRequest>
- Enclosing class:
- GetRequest
public static class GetRequest.Builder extends java.lang.Object implements ObjectBuilder<GetRequest>
Builder for
GetRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description GetRequest.Builder
acceptEnterprise(java.lang.Boolean value)
If the active license is an enterprise license, return type as 'enterprise' (default: false)GetRequest
build()
Builds aGetRequest
.GetRequest.Builder
local(java.lang.Boolean value)
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
-
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 aGetRequest
.- Specified by:
build
in interfaceObjectBuilder<GetRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-