Class PutWatsonxResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.inference.InferenceEndpoint.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.inference.InferenceEndpointInfoWatsonx.AbstractBuilder<PutWatsonxResponse.Builder>
co.elastic.clients.elasticsearch.inference.PutWatsonxResponse.Builder
- All Implemented Interfaces:
WithJson<PutWatsonxResponse.Builder>
,ObjectBuilder<PutWatsonxResponse>
- Enclosing class:
- PutWatsonxResponse
public static class PutWatsonxResponse.Builder
extends InferenceEndpointInfoWatsonx.AbstractBuilder<PutWatsonxResponse.Builder>
implements ObjectBuilder<PutWatsonxResponse>
Builder for
PutWatsonxResponse
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPutWatsonxResponse
.protected PutWatsonxResponse.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.inference.InferenceEndpointInfoWatsonx.AbstractBuilder
inferenceId, taskType
Methods inherited from class co.elastic.clients.elasticsearch.inference.InferenceEndpoint.AbstractBuilder
chunkingSettings, chunkingSettings, service, serviceSettings, taskSettings
Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
self
in classInferenceEndpoint.AbstractBuilder<PutWatsonxResponse.Builder>
-
build
Builds aPutWatsonxResponse
.- Specified by:
build
in interfaceObjectBuilder<PutWatsonxResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-