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