Class TrainedModelLocationIndex.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<TrainedModelLocationIndex.Builder>
co.elastic.clients.elasticsearch.ml.TrainedModelLocationIndex.Builder
- All Implemented Interfaces:
WithJson<TrainedModelLocationIndex.Builder>
,ObjectBuilder<TrainedModelLocationIndex>
- Enclosing class:
- TrainedModelLocationIndex
public static class TrainedModelLocationIndex.Builder
extends WithJsonObjectBuilderBase<TrainedModelLocationIndex.Builder>
implements ObjectBuilder<TrainedModelLocationIndex>
Builder for
TrainedModelLocationIndex
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aTrainedModelLocationIndex
.Required - API name:name
protected TrainedModelLocationIndex.Builder
self()
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
-
name
Required - API name:name
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<TrainedModelLocationIndex.Builder>
-
build
Builds aTrainedModelLocationIndex
.- Specified by:
build
in interfaceObjectBuilder<TrainedModelLocationIndex>
- Throws:
NullPointerException
- if some of the required fields are null.
-