Package com.mindee.v2.clientOptions
Class BaseParameters.BaseBuilder<T extends BaseParameters.BaseBuilder<T>>
- java.lang.Object
-
- com.mindee.v2.clientOptions.BaseParameters.BaseBuilder<T>
-
- Direct Known Subclasses:
ClassificationParameters.Builder,CropParameters.Builder,InferenceParameters.Builder,OcrParameters.Builder,SplitParameters.Builder
- Enclosing class:
- BaseParameters
protected abstract static class BaseParameters.BaseBuilder<T extends BaseParameters.BaseBuilder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaliasprotected StringmodelIdprotected AsyncPollingOptionspollingOptionsprotected String[]webhookIds
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseBuilder(String modelId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Talias(String alias)Set an alias for the uploaded document.TpollingOptions(AsyncPollingOptions pollingOptions)Set polling options.protected Tself()TwebhookIds(String[] webhookIds)Provide IDs of webhooks to forward the API response to.
-
-
-
Field Detail
-
modelId
protected final String modelId
-
alias
protected String alias
-
webhookIds
protected String[] webhookIds
-
pollingOptions
protected AsyncPollingOptions pollingOptions
-
-
Constructor Detail
-
BaseBuilder
protected BaseBuilder(String modelId)
-
-
Method Detail
-
self
protected T self()
-
webhookIds
public T webhookIds(String[] webhookIds)
Provide IDs of webhooks to forward the API response to.
-
pollingOptions
public T pollingOptions(AsyncPollingOptions pollingOptions)
Set polling options.
-
-