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