Class InfoRequest.Builder
java.lang.Object
co.elastic.clients.elasticsearch.xpack.InfoRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<InfoRequest>
- Enclosing class:
- InfoRequest
public static class InfoRequest.Builder extends java.lang.Object implements ObjectBuilder<InfoRequest>
Builder for
InfoRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description InfoRequest.BuilderaddCategories(java.lang.String value)Add a value tocategories(List), creating the list if needed.InfoRequestbuild()Builds aInfoRequest.InfoRequest.Buildercategories(java.lang.String... value)Comma-separated list of info categories.InfoRequest.Buildercategories(java.util.List<java.lang.String> value)Comma-separated list of info categories.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
-
categories
Comma-separated list of info categories. Can be any of: build, license, featuresAPI name:
categories -
categories
Comma-separated list of info categories. Can be any of: build, license, featuresAPI name:
categories -
addCategories
Add a value tocategories(List), creating the list if needed. 4 -
build
Builds aInfoRequest.- Specified by:
buildin interfaceObjectBuilder<InfoRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-