public static class BatchDetectLanguageSentimentsDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchDetectLanguageSentimentsDetails |
build() |
BatchDetectLanguageSentimentsDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that calls the API, inference will be served from pre trained model
|
BatchDetectLanguageSentimentsDetails.Builder |
copy(BatchDetectLanguageSentimentsDetails model) |
BatchDetectLanguageSentimentsDetails.Builder |
documents(List<TextDocument> documents)
List of Documents for detect sentiments.
|
BatchDetectLanguageSentimentsDetails.Builder |
endpointId(String endpointId)
The endpoint which have to be used for inferencing.
|
public BatchDetectLanguageSentimentsDetails.Builder endpointId(String endpointId)
The endpoint which have to be used for inferencing. If endpointId and compartmentId is provided, then inference will be served from custom model which is mapped to this Endpoint.
endpointId
- the value to setpublic BatchDetectLanguageSentimentsDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that calls the API, inference will be served from pre trained model
compartmentId
- the value to setpublic BatchDetectLanguageSentimentsDetails.Builder documents(List<TextDocument> documents)
List of Documents for detect sentiments.
documents
- the value to setpublic BatchDetectLanguageSentimentsDetails build()
public BatchDetectLanguageSentimentsDetails.Builder copy(BatchDetectLanguageSentimentsDetails model)
Copyright © 2016–2024. All rights reserved.