public static class BatchDetectLanguagePiiEntitiesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
public BatchDetectLanguagePiiEntitiesDetails.Builder alias(String alias)
Unique name across user tenancy in a region to identify an endpoint to be used for inferencing.
alias
- the value to setpublic 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.
endpointId
- the value to setpublic BatchDetectLanguagePiiEntitiesDetails.Builder compartmentId(String compartmentId)
The OCID of the compartment that calls the API, inference will be served from pre trained model
compartmentId
- the value to setpublic BatchDetectLanguagePiiEntitiesDetails.Builder documents(List<TextDocument> documents)
List of documents to detect personal identification information.
documents
- the value to setpublic BatchDetectLanguagePiiEntitiesDetails.Builder masking(Map<String,PiiEntityMasking> masking)
Mask recognized PII entities with different modes.
masking
- the value to setpublic BatchDetectLanguagePiiEntitiesDetails.Builder profile(Profile profile)
public BatchDetectLanguagePiiEntitiesDetails build()
public BatchDetectLanguagePiiEntitiesDetails.Builder copy(BatchDetectLanguagePiiEntitiesDetails model)
Copyright © 2016–2024. All rights reserved.