public class PushBatchesOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
PushBatchesOptions.Builder
Builder.
|
Modifier and Type | Method and Description |
---|---|
String |
batchId()
Gets the batchId.
|
String |
collectionId()
Gets the collectionId.
|
InputStream |
file()
Gets the file.
|
String |
filename()
Gets the filename.
|
PushBatchesOptions.Builder |
newBuilder()
New builder.
|
String |
projectId()
Gets the projectId.
|
public PushBatchesOptions.Builder newBuilder()
public String projectId()
The Universally Unique Identifier (UUID) of the project. This information can be found from the *Integrate and Deploy* page in Discovery.
public String collectionId()
The Universally Unique Identifier (UUID) of the collection.
public String batchId()
The Universally Unique Identifier (UUID) of the document batch that is being requested from Discovery.
public InputStream file()
A compressed newline-delimited JSON (NDJSON), which is a JSON file with one row of data per line. For example, `{batch_id}.ndjson.gz`. For more information, see [Binary attachment in the push batches method](/docs/discovery-data?topic=discovery-data-external-enrichment#binary-attachment-push-batches).
There is no limitation on the name of the file because Discovery does not use the name for processing. The list of features in the document is specified in the `features` object.
public String filename()
The filename for file.
Copyright © 2024 IBM Cloud. All rights reserved.