public static class PiiModelDetails.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PiiModelDetails |
build() |
PiiModelDetails.Builder |
copy(PiiModelDetails model) |
PiiModelDetails.Builder |
languageCode(String languageCode) |
PiiModelDetails.Builder |
version(String version)
Optional pre trained model version.
|
public PiiModelDetails.Builder languageCode(String languageCode)
public PiiModelDetails.Builder version(String version)
Optional pre trained model version. if nothing specified latest pre trained model will be used. Supported versions can be found at /modelTypes/{modelType}
version
- the value to setpublic PiiModelDetails build()
public PiiModelDetails.Builder copy(PiiModelDetails model)
Copyright © 2016–2024. All rights reserved.