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.Builder
addValueBody(PluginsRecord value)
Add a value tovalueBody(List)
, creating the list if needed.PluginsResponse.Builder
addValueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)
Add a value tovalueBody(List)
, creating the list if needed.PluginsResponse
build()
Builds aPluginsResponse
.PluginsResponse.Builder
valueBody(PluginsRecord... value)
Required - Response value.PluginsResponse.Builder
valueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)
SetvalueBody(List)
to a singleton list.PluginsResponse.Builder
valueBody(java.util.List<PluginsRecord> value)
Required - 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
Required - Response value.API name:
_value_body
-
valueBody
Required - Response value.API name:
_value_body
-
addValueBody
Add a value tovalueBody(List)
, creating the list if needed. -
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. -
build
Builds aPluginsResponse
.- Specified by:
build
in interfaceObjectBuilder<PluginsResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-