public class ClassifyElementsOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
ClassifyElementsOptions.Builder
Builder.
|
static interface |
ClassifyElementsOptions.Model
The analysis model to be used by the service.
|
Modifier and Type | Method and Description |
---|---|
InputStream |
file()
Gets the file.
|
String |
fileContentType()
Gets the fileContentType.
|
String |
model()
Gets the model.
|
ClassifyElementsOptions.Builder |
newBuilder()
New builder.
|
public ClassifyElementsOptions.Builder newBuilder()
public InputStream file()
The document to classify.
public String fileContentType()
The content type of file. Values for this parameter can be obtained from the HttpMediaType class.
public String model()
The analysis model to be used by the service. For the **Element classification** and **Compare two documents** methods, the default is `contracts`. For the **Extract tables** method, the default is `tables`. These defaults apply to the standalone methods as well as to the methods' use in batch-processing requests.
Copyright © 2021 IBM Cloud. All rights reserved.