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 |
endpointId(String endpointId)
The endpoint which have to be used for inferencing.
|
BatchDetectLanguagePiiEntitiesDetails.Builder |
masking(Map<String,PiiEntityMasking> masking)
Mask recognized PII entities with different modes.
|
BatchDetectLanguagePiiEntitiesDetails.Builder |
profile(Profile profile) |
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.
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.