Class InferenceEndpoint.AbstractBuilder<BuilderT extends InferenceEndpoint.AbstractBuilder<BuilderT>>
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.inference.InferenceEndpoint.AbstractBuilder<BuilderT>
- All Implemented Interfaces:
WithJson<BuilderT>
- Direct Known Subclasses:
InferenceEndpoint.Builder
,InferenceEndpointInfo.AbstractBuilder
- Enclosing class:
- InferenceEndpoint
public abstract static class InferenceEndpoint.AbstractBuilder<BuilderT extends InferenceEndpoint.AbstractBuilder<BuilderT>>
extends WithJsonObjectBuilderBase<BuilderT>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal BuilderT
Chunking configuration objectfinal BuilderT
chunkingSettings
(Function<InferenceChunkingSettings.Builder, ObjectBuilder<InferenceChunkingSettings>> fn) Chunking configuration objectprotected abstract BuilderT
self()
final BuilderT
Required - The service typefinal BuilderT
serviceSettings
(JsonData value) Required - Settings specific to the servicefinal BuilderT
taskSettings
(JsonData value) Task settings specific to the service and task typeMethods 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
-
AbstractBuilder
public AbstractBuilder()
-
-
Method Details
-
chunkingSettings
Chunking configuration objectAPI name:
chunking_settings
-
chunkingSettings
public final BuilderT chunkingSettings(Function<InferenceChunkingSettings.Builder, ObjectBuilder<InferenceChunkingSettings>> fn) Chunking configuration objectAPI name:
chunking_settings
-
service
Required - The service typeAPI name:
service
-
serviceSettings
Required - Settings specific to the serviceAPI name:
service_settings
-
taskSettings
Task settings specific to the service and task typeAPI name:
task_settings
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<BuilderT extends InferenceEndpoint.AbstractBuilder<BuilderT>>
-