Package com.oracle.bmc.ailanguage.model
Class BatchDetectLanguagePiiEntitiesDetails.Builder
- java.lang.Object
-
- com.oracle.bmc.ailanguage.model.BatchDetectLanguagePiiEntitiesDetails.Builder
-
- Enclosing class:
- BatchDetectLanguagePiiEntitiesDetails
public static class BatchDetectLanguagePiiEntitiesDetails.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
alias
public BatchDetectLanguagePiiEntitiesDetails.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 BatchDetectLanguagePiiEntitiesDetails.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 BatchDetectLanguagePiiEntitiesDetails.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 BatchDetectLanguagePiiEntitiesDetails.Builder documents(List<TextDocument> documents)
List of documents to detect personal identification information.- Parameters:
documents
- the value to set- Returns:
- this builder
-
masking
public BatchDetectLanguagePiiEntitiesDetails.Builder masking(Map<String,PiiEntityMasking> masking)
Mask recognized PII entities with different modes.- Parameters:
masking
- the value to set- Returns:
- this builder
-
profile
public BatchDetectLanguagePiiEntitiesDetails.Builder profile(Profile profile)
-
build
public BatchDetectLanguagePiiEntitiesDetails build()
-
copy
public BatchDetectLanguagePiiEntitiesDetails.Builder copy(BatchDetectLanguagePiiEntitiesDetails model)
-
-