Class HelpResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.HelpResponse.Builder
- All Implemented Interfaces:
ObjectBuilder<HelpResponse>
- Enclosing class:
- HelpResponse
public static class HelpResponse.Builder extends ObjectBuilderBase implements ObjectBuilder<HelpResponse>
Builder for
HelpResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description HelpResponsebuild()Builds aHelpResponse.HelpResponse.BuildervalueBody(HelpRecord value, HelpRecord... values)Required - Response value.HelpResponse.BuildervalueBody(java.util.function.Function<HelpRecord.Builder,ObjectBuilder<HelpRecord>> fn)Required - Response value.HelpResponse.BuildervalueBody(java.util.List<HelpRecord> list)Required - Response value.Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods 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_bodyAdds all elements of
listtovalueBody. -
valueBody
Required - Response value.API name:
_value_bodyAdds one or more values to
valueBody. -
valueBody
public final HelpResponse.Builder valueBody(java.util.function.Function<HelpRecord.Builder,ObjectBuilder<HelpRecord>> fn)Required - Response value.API name:
_value_bodyAdds a value to
valueBodyusing a builder lambda. -
build
Builds aHelpResponse.- Specified by:
buildin interfaceObjectBuilder<HelpResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-