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