Class PutTrainedModelResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ml.TrainedModelConfig.AbstractBuilder<PutTrainedModelResponse.Builder>
co.elastic.clients.elasticsearch.ml.PutTrainedModelResponse.Builder
- All Implemented Interfaces:
WithJson<PutTrainedModelResponse.Builder>,ObjectBuilder<PutTrainedModelResponse>
- Enclosing class:
- PutTrainedModelResponse
public static class PutTrainedModelResponse.Builder extends TrainedModelConfig.AbstractBuilder<PutTrainedModelResponse.Builder> implements ObjectBuilder<PutTrainedModelResponse>
Builder for
PutTrainedModelResponse.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description PutTrainedModelResponsebuild()Builds aPutTrainedModelResponse.protected PutTrainedModelResponse.Builderself()Methods inherited from class co.elastic.clients.elasticsearch.ml.TrainedModelConfig.AbstractBuilder
compressedDefinition, createdBy, createTime, defaultFieldMap, defaultFieldMap, description, estimatedHeapMemoryUsageBytes, estimatedOperations, inferenceConfig, inferenceConfig, input, input, licenseLevel, location, location, metadata, metadata, modelId, modelSizeBytes, modelType, tags, tags, versionMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
self
- Specified by:
selfin classTrainedModelConfig.AbstractBuilder<PutTrainedModelResponse.Builder>
-
build
Builds aPutTrainedModelResponse.- Specified by:
buildin interfaceObjectBuilder<PutTrainedModelResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-