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)Comma-separated list of info categories.XpackInfoRequest.Buildercategories(java.util.List<java.lang.String> list)Comma-separated list of info categories.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
Comma-separated list of info categories. Can be any of: build, license, featuresAPI name:
categoriesAdds all elements of
listtocategories. -
categories
public final XpackInfoRequest.Builder categories(java.lang.String value, java.lang.String... values)Comma-separated list of info categories. Can be any of: build, license, featuresAPI name:
categoriesAdds one or more values to
categories. -
build
Builds aXpackInfoRequest.- Specified by:
buildin interfaceObjectBuilder<XpackInfoRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-