Class StopTrainedModelDeploymentResponse.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<StopTrainedModelDeploymentResponse.Builder>
co.elastic.clients.elasticsearch.ml.StopTrainedModelDeploymentResponse.Builder
- All Implemented Interfaces:
WithJson<StopTrainedModelDeploymentResponse.Builder>
,ObjectBuilder<StopTrainedModelDeploymentResponse>
- Enclosing class:
- StopTrainedModelDeploymentResponse
public static class StopTrainedModelDeploymentResponse.Builder
extends WithJsonObjectBuilderBase<StopTrainedModelDeploymentResponse.Builder>
implements ObjectBuilder<StopTrainedModelDeploymentResponse>
Builder for
StopTrainedModelDeploymentResponse
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aStopTrainedModelDeploymentResponse
.self()
stopped
(boolean value) Required - API name:stopped
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
-
stopped
Required - API name:stopped
-
self
- Specified by:
self
in classWithJsonObjectBuilderBase<StopTrainedModelDeploymentResponse.Builder>
-
build
Builds aStopTrainedModelDeploymentResponse
.- Specified by:
build
in interfaceObjectBuilder<StopTrainedModelDeploymentResponse>
- Throws:
NullPointerException
- if some of the required fields are null.
-