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