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