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 SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description BatchDetectLanguageSentimentsDetails.Builderalias(String alias)Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.BatchDetectLanguageSentimentsDetailsbuild()BatchDetectLanguageSentimentsDetails.BuildercompartmentId(String compartmentId)The OCID of the compartment that calls the API, inference will be served from pre trained modelBatchDetectLanguageSentimentsDetails.Buildercopy(BatchDetectLanguageSentimentsDetails model)BatchDetectLanguageSentimentsDetails.Builderdocuments(List<TextDocument> documents)List of Documents for detect sentiments.BatchDetectLanguageSentimentsDetails.BuilderendpointId(String endpointId)The endpoint which have to be used for inferencing.
 
- 
- 
- 
Method Detail- 
aliaspublic 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
 
 - 
endpointIdpublic 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
 
 - 
compartmentIdpublic 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
 
 - 
documentspublic BatchDetectLanguageSentimentsDetails.Builder documents(List<TextDocument> documents) List of Documents for detect sentiments.- Parameters:
- documents- the value to set
- Returns:
- this builder
 
 - 
buildpublic BatchDetectLanguageSentimentsDetails build() 
 - 
copypublic BatchDetectLanguageSentimentsDetails.Builder copy(BatchDetectLanguageSentimentsDetails model) 
 
- 
 
-