Class PluginsResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.cat.PluginsResponse.Builder
-
- All Implemented Interfaces:
ObjectBuilder<PluginsResponse>
- Enclosing class:
- PluginsResponse
public static class PluginsResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<PluginsResponse>
Builder forPluginsResponse
.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PluginsResponse
build()
Builds aPluginsResponse
.PluginsResponse.Builder
valueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)
Required - Response value.PluginsResponse.Builder
valueBody(java.util.List<PluginsRecord> list)
Required - Response value.PluginsResponse.Builder
valueBody(PluginsRecord value, PluginsRecord... values)
Required - Response value.-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
valueBody
public final PluginsResponse.Builder valueBody(java.util.List<PluginsRecord> list)
Required - Response value.API name:
_value_body
Adds all elements of
list
tovalueBody
.
-
valueBody
public final PluginsResponse.Builder valueBody(PluginsRecord value, PluginsRecord... values)
Required - Response value.API name:
_value_body
Adds one or more values to
valueBody
.
-
valueBody
public final PluginsResponse.Builder valueBody(java.util.function.Function<PluginsRecord.Builder,ObjectBuilder<PluginsRecord>> fn)
Required - Response value.API name:
_value_body
Adds a value to
valueBody
using a builder lambda.
-
build
public PluginsResponse build()
Builds aPluginsResponse
.- Specified by:
build
in interfaceObjectBuilder<PluginsResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-
-