Class XpackInfoRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<XpackInfoRequest.Builder>
co.elastic.clients.elasticsearch.xpack.XpackInfoRequest.Builder
- All Implemented Interfaces:
WithJson<XpackInfoRequest.Builder>,ObjectBuilder<XpackInfoRequest>
- Enclosing class:
- XpackInfoRequest
public static class XpackInfoRequest.Builder
extends RequestBase.AbstractBuilder<XpackInfoRequest.Builder>
implements ObjectBuilder<XpackInfoRequest>
Builder for
XpackInfoRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal XpackInfoRequest.BuilderacceptEnterprise(Boolean value) If this param is used it must be set to truebuild()Builds aXpackInfoRequest.final XpackInfoRequest.Buildercategories(XPackCategory value, XPackCategory... values) A comma-separated list of the information categories to include in the response.final XpackInfoRequest.Buildercategories(List<XPackCategory> list) A comma-separated list of the information categories to include in the response.final XpackInfoRequest.BuilderDefines whether additional human-readable information is included in the response.protected XpackInfoRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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
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 -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<XpackInfoRequest.Builder>
-
build
Builds aXpackInfoRequest.- Specified by:
buildin interfaceObjectBuilder<XpackInfoRequest>- Throws:
NullPointerException- if some of the required fields are null.
-