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