public class AddDocumentOptions
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
AddDocumentOptions.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
collectionId |
protected java.io.InputStream |
file |
protected java.lang.String |
fileContentType |
protected java.lang.String |
filename |
protected java.lang.String |
metadata |
protected java.lang.String |
projectId |
protected java.lang.Boolean |
xWatsonDiscoveryForce |
Modifier | Constructor and Description |
---|---|
protected |
AddDocumentOptions(AddDocumentOptions.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
collectionId()
Gets the collectionId.
|
java.io.InputStream |
file()
Gets the file.
|
java.lang.String |
fileContentType()
Gets the fileContentType.
|
java.lang.String |
filename()
Gets the filename.
|
java.lang.String |
metadata()
Gets the metadata.
|
AddDocumentOptions.Builder |
newBuilder()
New builder.
|
java.lang.String |
projectId()
Gets the projectId.
|
java.lang.Boolean |
xWatsonDiscoveryForce()
Gets the xWatsonDiscoveryForce.
|
protected java.lang.String projectId
protected java.lang.String collectionId
protected java.io.InputStream file
protected java.lang.String filename
protected java.lang.String fileContentType
protected java.lang.String metadata
protected java.lang.Boolean xWatsonDiscoveryForce
protected AddDocumentOptions(AddDocumentOptions.Builder builder)
public AddDocumentOptions.Builder newBuilder()
public java.lang.String projectId()
public java.lang.String collectionId()
public java.io.InputStream file()
public java.lang.String filename()
public java.lang.String fileContentType()
public java.lang.String metadata()
public java.lang.Boolean xWatsonDiscoveryForce()