Class PluginsResponse.Builder
java.lang.Object
co.elastic.clients.elasticsearch.cat.PluginsResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<PluginsResponse>
- Enclosing class:
- PluginsResponse
public static class PluginsResponse.Builder extends java.lang.Object implements ObjectBuilder<PluginsResponse>
Builder for
PluginsResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description PluginsResponse.BuilderaddValueBody(PluginsRecord value)Add a value tovalueBody(List), creating the list if needed.PluginsResponse.BuilderaddValueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)Add a value tovalueBody(List), creating the list if needed.PluginsResponsebuild()Builds aPluginsResponse.PluginsResponse.BuildervalueBody(PluginsRecord... value)Response value.PluginsResponse.BuildervalueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)SetvalueBody(List)to a singleton list.PluginsResponse.BuildervalueBody(java.util.List<PluginsRecord> value)Response value.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
-
valueBody
Response value.API name:
_value_body -
valueBody
Response value.API name:
_value_body -
addValueBody
Add a value tovalueBody(List), creating the list if needed. 4 -
valueBody
public PluginsResponse.Builder valueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)SetvalueBody(List)to a singleton list. -
addValueBody
public PluginsResponse.Builder addValueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)Add a value tovalueBody(List), creating the list if needed. 5 -
build
Builds aPluginsResponse.- Specified by:
buildin interfaceObjectBuilder<PluginsResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-