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.Builder
addCategories(java.lang.String value)
Add a value tocategories(List)
, creating the list if needed.InfoRequest
build()
Builds aInfoRequest
.InfoRequest.Builder
categories(java.lang.String... value)
Comma-separated list of info categories.InfoRequest.Builder
categories(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 aInfoRequest
.- Specified by:
build
in interfaceObjectBuilder<InfoRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-