Package com.oracle.bmc.ailanguage.model
Class BatchDetectLanguageTextClassificationDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.BatchDetectLanguageTextClassificationDetails.Builder
-
- Enclosing class:
- BatchDetectLanguageTextClassificationDetails
public static class BatchDetectLanguageTextClassificationDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 modelBatchDetectLanguageTextClassificationDetails.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.
-
-
-
Method Detail
-
alias
public BatchDetectLanguageTextClassificationDetails.Builder alias(String alias)
Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.- Parameters:
alias
- the value to set- Returns:
- this builder
-
compartmentId
public BatchDetectLanguageTextClassificationDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that calls the API, inference will be served from pre trained model- Parameters:
compartmentId
- the value to set- Returns:
- this builder
-
endpointId
public 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.
- Parameters:
endpointId
- the value to set- Returns:
- this builder
-
documents
public BatchDetectLanguageTextClassificationDetails.Builder documents(List<TextDocument> documents)
List of Documents for detect text classification.- Parameters:
documents
- the value to set- Returns:
- this builder
-
build
public BatchDetectLanguageTextClassificationDetails build()
-
copy
public BatchDetectLanguageTextClassificationDetails.Builder copy(BatchDetectLanguageTextClassificationDetails model)
-
-