Class ClearTrainedModelDeploymentCacheResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ClearTrainedModelDeploymentCacheResponse.Builder>
co.elastic.clients.elasticsearch.ml.ClearTrainedModelDeploymentCacheResponse.Builder
- All Implemented Interfaces:
WithJson<ClearTrainedModelDeploymentCacheResponse.Builder>
,ObjectBuilder<ClearTrainedModelDeploymentCacheResponse>
- Enclosing class:
- ClearTrainedModelDeploymentCacheResponse
public static class ClearTrainedModelDeploymentCacheResponse.Builder extends WithJsonObjectBuilderBase<ClearTrainedModelDeploymentCacheResponse.Builder> implements ObjectBuilder<ClearTrainedModelDeploymentCacheResponse>
Builder for
ClearTrainedModelDeploymentCacheResponse
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ClearTrainedModelDeploymentCacheResponse
build()
Builds aClearTrainedModelDeploymentCacheResponse
.ClearTrainedModelDeploymentCacheResponse.Builder
cleared(boolean value)
Required - API name:cleared
protected ClearTrainedModelDeploymentCacheResponse.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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
cleared
Required - API name:cleared
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<ClearTrainedModelDeploymentCacheResponse.Builder>
-
build
Builds aClearTrainedModelDeploymentCacheResponse
.- Specified by:
build
in interfaceObjectBuilder<ClearTrainedModelDeploymentCacheResponse>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-