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.BuilderacceptEnterprise(java.lang.Boolean value)If this param is used it must be set to trueXpackInfoRequestbuild()Builds aXpackInfoRequest.XpackInfoRequest.Buildercategories(java.lang.String value, java.lang.String... values)A comma-separated list of the information categories to include in the response.XpackInfoRequest.Buildercategories(java.util.List<java.lang.String> list)A comma-separated list of the information categories to include in the response.XpackInfoRequest.Builderhuman(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, _mapPutAllMethods 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:
categoriesAdds all elements of
listtocategories. -
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:
categoriesAdds 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:
buildin interfaceObjectBuilder<XpackInfoRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-