Class CreateControllerResponse.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.ml.CreateControllerResponse.Builder
-
- All Implemented Interfaces:
CopyableBuilder<CreateControllerResponse.Builder,CreateControllerResponse>,MutableBuilder<CreateControllerResponse.Builder,CreateControllerResponse>,ObjectBuilder<CreateControllerResponse>
- Enclosing class:
- CreateControllerResponse
public static class CreateControllerResponse.Builder extends ObjectBuilderBase implements CopyableBuilder<CreateControllerResponse.Builder,CreateControllerResponse>
Builder forCreateControllerResponse.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateControllerResponsebuild()Builds aCreateControllerResponse.CreateControllerResponse.Buildercopy()Create a new builderCopyableBuilderthat is a copy of this one.CreateControllerResponse.BuildermodelId(java.lang.String value)API name:model_idCreateControllerResponse.Builderstatus(Status value)API name:status-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAdd, _listAddAll, _listAddAll, _listCopy, _mapCopy, _mapPut, _mapPutAll
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opensearch.client.util.MutableBuilder
applyMutation
-
-
-
-
Method Detail
-
copy
@Nonnull public CreateControllerResponse.Builder copy()
Description copied from interface:CopyableBuilderCreate a new builderCopyableBuilderthat is a copy of this one.- Specified by:
copyin interfaceCopyableBuilder<CreateControllerResponse.Builder,CreateControllerResponse>- Returns:
- a new builder instance.
-
modelId
@Nonnull public final CreateControllerResponse.Builder modelId(@Nullable java.lang.String value)
API name:model_id
-
status
@Nonnull public final CreateControllerResponse.Builder status(@Nullable Status value)
API name:status
-
build
@Nonnull public CreateControllerResponse build()
Builds aCreateControllerResponse.- Specified by:
buildin interfaceObjectBuilder<CreateControllerResponse>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-