Class DeployModelResponse.Builder
java.lang.Object
org.opensearch.client.util.ObjectBuilderBase
org.opensearch.client.opensearch.ml.DeployModelResponse.Builder
- All Implemented Interfaces:
CopyableBuilder<DeployModelResponse.Builder,,DeployModelResponse> MutableBuilder<DeployModelResponse.Builder,,DeployModelResponse> ObjectBuilder<DeployModelResponse>
- Enclosing class:
DeployModelResponse
public static class DeployModelResponse.Builder
extends ObjectBuilderBase
implements CopyableBuilder<DeployModelResponse.Builder,DeployModelResponse>
Builder for
DeployModelResponse.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeployModelResponse.copy()Create a new builderCopyableBuilderthat is a copy of this one.Required - API name:statusRequired - API name:task_idAPI name:task_typeMethods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
copy
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<DeployModelResponse.Builder,DeployModelResponse> - Returns:
- a new builder instance.
-
status
Required - API name:status -
taskId
Required - API name:task_id -
taskType
API name:task_type -
build
Builds aDeployModelResponse.- Specified by:
buildin interfaceObjectBuilder<DeployModelResponse>- Throws:
NullPointerException- if some of the required fields are null.
-