Class ClearTrainedModelDeploymentCacheRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ClearTrainedModelDeploymentCacheRequest.Builder>
co.elastic.clients.elasticsearch.ml.ClearTrainedModelDeploymentCacheRequest.Builder
- All Implemented Interfaces:
WithJson<ClearTrainedModelDeploymentCacheRequest.Builder>,ObjectBuilder<ClearTrainedModelDeploymentCacheRequest>
- Enclosing class:
- ClearTrainedModelDeploymentCacheRequest
public static class ClearTrainedModelDeploymentCacheRequest.Builder extends RequestBase.AbstractBuilder<ClearTrainedModelDeploymentCacheRequest.Builder> implements ObjectBuilder<ClearTrainedModelDeploymentCacheRequest>
Builder for
ClearTrainedModelDeploymentCacheRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ClearTrainedModelDeploymentCacheRequestbuild()Builds aClearTrainedModelDeploymentCacheRequest.ClearTrainedModelDeploymentCacheRequest.BuildermodelId(java.lang.String value)The unique identifier of the trained model.protected ClearTrainedModelDeploymentCacheRequest.Builderself()Methods 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
-
modelId
public final ClearTrainedModelDeploymentCacheRequest.Builder modelId(@Nullable java.lang.String value)The unique identifier of the trained model.API name:
model_id -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<ClearTrainedModelDeploymentCacheRequest.Builder>
-
build
Builds aClearTrainedModelDeploymentCacheRequest.- Specified by:
buildin interfaceObjectBuilder<ClearTrainedModelDeploymentCacheRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-