public static class BatchDetectLanguageKeyPhrasesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchDetectLanguageKeyPhrasesDetails |
build() |
BatchDetectLanguageKeyPhrasesDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that calls the API, inference will be served from pre trained model
|
BatchDetectLanguageKeyPhrasesDetails.Builder |
copy(BatchDetectLanguageKeyPhrasesDetails model) |
BatchDetectLanguageKeyPhrasesDetails.Builder |
documents(List<TextDocument> documents)
List of Documents for detect keyPhrases.
|
BatchDetectLanguageKeyPhrasesDetails.Builder |
endpointId(String endpointId)
The endpoint which have to be used for inferencing.
|
public BatchDetectLanguageKeyPhrasesDetails.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 BatchDetectLanguageKeyPhrasesDetails.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 BatchDetectLanguageKeyPhrasesDetails.Builder documents(List<TextDocument> documents)
List of Documents for detect keyPhrases.
documents
- the value to setpublic BatchDetectLanguageKeyPhrasesDetails build()
public BatchDetectLanguageKeyPhrasesDetails.Builder copy(BatchDetectLanguageKeyPhrasesDetails model)
Copyright © 2016–2024. All rights reserved.