public static class BatchDetectLanguagePiiEntitiesDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
BatchDetectLanguagePiiEntitiesDetails |
build() |
BatchDetectLanguagePiiEntitiesDetails.Builder |
compartmentId(String compartmentId)
The OCID of the
compartment that calls the API, inference will be served from pre trained model
|
BatchDetectLanguagePiiEntitiesDetails.Builder |
copy(BatchDetectLanguagePiiEntitiesDetails model) |
BatchDetectLanguagePiiEntitiesDetails.Builder |
documents(List<TextDocument> documents)
List of documents to detect personal identification information.
|
BatchDetectLanguagePiiEntitiesDetails.Builder |
masking(Map<String,PiiEntityMasking> masking)
Mask recognized PII entities with different modes.
|
public 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 build()
public BatchDetectLanguagePiiEntitiesDetails.Builder copy(BatchDetectLanguagePiiEntitiesDetails model)
Copyright © 2016–2023. All rights reserved.