Class XpackInfoRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.xpack.XpackInfoRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<XpackInfoRequest>
- Enclosing class:
- XpackInfoRequest
public static class XpackInfoRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<XpackInfoRequest>
Builder for
XpackInfoRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description XpackInfoRequest.Builder
acceptEnterprise(java.lang.Boolean value)
If this param is used it must be set to trueXpackInfoRequest
build()
Builds aXpackInfoRequest
.XpackInfoRequest.Builder
categories(java.lang.String value, java.lang.String... values)
A comma-separated list of the information categories to include in the response.XpackInfoRequest.Builder
categories(java.util.List<java.lang.String> list)
A comma-separated list of the information categories to include in the response.XpackInfoRequest.Builder
human(java.lang.Boolean value)
Defines whether additional human-readable information is included in the response.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
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 this param is used it must be set to trueAPI name:
accept_enterprise
-
categories
A comma-separated list of the information categories to include in the response. For example,build,license,features
.API name:
categories
Adds all elements of
list
tocategories
. -
categories
public final XpackInfoRequest.Builder categories(java.lang.String value, java.lang.String... values)A comma-separated list of the information categories to include in the response. For example,build,license,features
.API name:
categories
Adds one or more values to
categories
. -
human
Defines whether additional human-readable information is included in the response. In particular, it adds descriptions and a tag line.API name:
human
-
build
Builds aXpackInfoRequest
.- Specified by:
build
in interfaceObjectBuilder<XpackInfoRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-