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
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description StopTrainedModelDeploymentResponsebuild()Builds aStopTrainedModelDeploymentResponse.protected StopTrainedModelDeploymentResponse.Builderself()StopTrainedModelDeploymentResponse.Builderstopped(boolean value)Required - API name:stoppedMethods 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
-
stopped
Required - API name:stopped -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<StopTrainedModelDeploymentResponse.Builder>
-
build
Builds aStopTrainedModelDeploymentResponse.- Specified by:
buildin interfaceObjectBuilder<StopTrainedModelDeploymentResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-