public class CreateBatchOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
CreateBatchOptions.Builder
Builder.
|
static interface |
CreateBatchOptions.Function
The Compare and Comply method to run across the submitted input documents.
|
static interface |
CreateBatchOptions.Model
The analysis model to be used by the service.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
function |
protected java.lang.String |
inputBucketLocation |
protected java.lang.String |
inputBucketName |
protected java.io.InputStream |
inputCredentialsFile |
protected java.lang.String |
model |
protected java.lang.String |
outputBucketLocation |
protected java.lang.String |
outputBucketName |
protected java.io.InputStream |
outputCredentialsFile |
Modifier | Constructor and Description |
---|---|
protected |
CreateBatchOptions(CreateBatchOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
function()
Gets the function.
|
java.lang.String |
inputBucketLocation()
Gets the inputBucketLocation.
|
java.lang.String |
inputBucketName()
Gets the inputBucketName.
|
java.io.InputStream |
inputCredentialsFile()
Gets the inputCredentialsFile.
|
java.lang.String |
model()
Gets the model.
|
CreateBatchOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
outputBucketLocation()
Gets the outputBucketLocation.
|
java.lang.String |
outputBucketName()
Gets the outputBucketName.
|
java.io.InputStream |
outputCredentialsFile()
Gets the outputCredentialsFile.
|
protected java.lang.String function
protected java.io.InputStream inputCredentialsFile
protected java.lang.String inputBucketLocation
protected java.lang.String inputBucketName
protected java.io.InputStream outputCredentialsFile
protected java.lang.String outputBucketLocation
protected java.lang.String outputBucketName
protected java.lang.String model
protected CreateBatchOptions(CreateBatchOptions.Builder builder)
public CreateBatchOptions.Builder newBuilder()
public java.lang.String function()
The Compare and Comply method to run across the submitted input documents.
public java.io.InputStream inputCredentialsFile()
A JSON file containing the input Cloud Object Storage credentials. At a minimum, the credentials must enable `READ` permissions on the bucket defined by the `input_bucket_name` parameter.
public java.lang.String inputBucketLocation()
The geographical location of the Cloud Object Storage input bucket as listed on the **Endpoint** tab of your Cloud Object Storage instance; for example, `us-geo`, `eu-geo`, or `ap-geo`.
public java.lang.String inputBucketName()
The name of the Cloud Object Storage input bucket.
public java.io.InputStream outputCredentialsFile()
A JSON file that lists the Cloud Object Storage output credentials. At a minimum, the credentials must enable `READ` and `WRITE` permissions on the bucket defined by the `output_bucket_name` parameter.
public java.lang.String outputBucketLocation()
The geographical location of the Cloud Object Storage output bucket as listed on the **Endpoint** tab of your Cloud Object Storage instance; for example, `us-geo`, `eu-geo`, or `ap-geo`.
public java.lang.String outputBucketName()
The name of the Cloud Object Storage output bucket.
public java.lang.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.