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 | Method and Description |
---|---|
String |
function()
Gets the function.
|
String |
inputBucketLocation()
Gets the inputBucketLocation.
|
String |
inputBucketName()
Gets the inputBucketName.
|
InputStream |
inputCredentialsFile()
Gets the inputCredentialsFile.
|
String |
model()
Gets the model.
|
CreateBatchOptions.Builder |
newBuilder()
New builder.
|
String |
outputBucketLocation()
Gets the outputBucketLocation.
|
String |
outputBucketName()
Gets the outputBucketName.
|
InputStream |
outputCredentialsFile()
Gets the outputCredentialsFile.
|
public CreateBatchOptions.Builder newBuilder()
public String function()
The Compare and Comply method to run across the submitted input documents.
public 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 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 String inputBucketName()
The name of the Cloud Object Storage input bucket.
public 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 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 String outputBucketName()
The name of the Cloud Object Storage output bucket.
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.