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
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aPutTrainedModelResponse
.protected PutTrainedModelResponse.Builder
self()
Methods inherited from class co.elastic.clients.elasticsearch.ml.TrainedModelConfig.AbstractBuilder
compressedDefinition, createdBy, createTime, defaultFieldMap, defaultFieldMap, description, estimatedHeapMemoryUsageBytes, estimatedOperations, fullyDefined, inferenceConfig, inferenceConfig, input, input, licenseLevel, location, location, metadata, metadata, modelId, modelSizeBytes, modelType, prefixStrings, prefixStrings, tags, tags, version
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 classTrainedModelConfig.AbstractBuilder<PutTrainedModelResponse.Builder>
-
build
Builds aPutTrainedModelResponse
.- Specified by:
build
in interfaceObjectBuilder<PutTrainedModelResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-