Package com.basistech.rosette.apimodel
Class DocumentRequest.DocumentRequestBuilder<O extends Options>
java.lang.Object
com.basistech.rosette.apimodel.DocumentRequest.DocumentRequestBuilder<O>
- Enclosing class:
- DocumentRequest<O extends Options>
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Specify the content as bytes with a content type.content
(InputStream bytes, String contentType) Specify the content as bytes with a content type.Specify the content as String.contentType
(String contentType) contentUri
(String contentUri) Deprecated.language
(com.basistech.util.LanguageCode language) toString()
-
Method Details
-
content
Specify the content as String. Use this for plain text.- Parameters:
data
- The data.- Returns:
- this.
-
content
Specify the content as bytes with a content type. Use this for formats other than plain text.- Parameters:
bytes
- The data.contentType
- the content type.- Returns:
- this.
-
content
Specify the content as bytes with a content type. Use this for formats other than plain text.- Parameters:
bytes
- The data.contentType
- the content type.- Returns:
- this.
-
profileId
- Returns:
this
.
-
language
- Returns:
this
.
-
contentUri
- Returns:
this
.
-
contentType
- Returns:
this
.
-
genre
Deprecated.- Returns:
this
.
-
options
- Returns:
this
.
-
build
-
toString
-