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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aTrainedModelLocationIndex.Required - API name:nameprotected TrainedModelLocationIndex.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<TrainedModelLocationIndex.Builder>
-
build
Builds aTrainedModelLocationIndex.- Specified by:
buildin interfaceObjectBuilder<TrainedModelLocationIndex>- Throws:
NullPointerException- if some of the required fields are null.
-