Class CustomRequestParams.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<CustomRequestParams.Builder>
co.elastic.clients.elasticsearch.inference.CustomRequestParams.Builder
- All Implemented Interfaces:
- WithJson<CustomRequestParams.Builder>,- ObjectBuilder<CustomRequestParams>
- Enclosing class:
- CustomRequestParams
public static class CustomRequestParams.Builder
extends WithJsonObjectBuilderBase<CustomRequestParams.Builder>
implements ObjectBuilder<CustomRequestParams>
Builder for 
CustomRequestParams.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aCustomRequestParams.Required - The body structure of the request.protected CustomRequestParams.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
contentRequired - The body structure of the request. It requires passing in the string-escaped result of the JSON format HTTP request body. For example:"request": "{\"input\":${input}}"info The content string needs to be a single line except when using the Kibana console. API name: content
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<CustomRequestParams.Builder>
 
- 
buildBuilds aCustomRequestParams.- Specified by:
- buildin interface- ObjectBuilder<CustomRequestParams>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-