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:assignmentRequired - API name:assignmentbuild()Builds aUpdateTrainedModelDeploymentResponse.self()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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:
selfin classWithJsonObjectBuilderBase<UpdateTrainedModelDeploymentResponse.Builder>
-
build
Builds aUpdateTrainedModelDeploymentResponse.- Specified by:
buildin interfaceObjectBuilder<UpdateTrainedModelDeploymentResponse>- Throws:
NullPointerException- if some of the required fields are null.
-