public abstract static class DLPInspectText.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DLPInspectText |
build() |
abstract DLPInspectText.Builder |
setBatchSizeBytes(java.lang.Integer batchSize) |
abstract DLPInspectText.Builder |
setColumnDelimiter(java.lang.String delimiter) |
abstract DLPInspectText.Builder |
setHeaderColumns(PCollectionView<java.util.List<java.lang.String>> headerColumns) |
abstract DLPInspectText.Builder |
setInspectConfig(com.google.privacy.dlp.v2.InspectConfig inspectConfig) |
abstract DLPInspectText.Builder |
setInspectTemplateName(java.lang.String inspectTemplateName) |
abstract DLPInspectText.Builder |
setProjectId(java.lang.String projectId) |
public abstract DLPInspectText.Builder setInspectTemplateName(java.lang.String inspectTemplateName)
inspectTemplateName
- Template name for data inspection.public abstract DLPInspectText.Builder setInspectConfig(com.google.privacy.dlp.v2.InspectConfig inspectConfig)
inspectConfig
- Configuration object for data inspection. If present, supersedes the
template settings.public abstract DLPInspectText.Builder setBatchSizeBytes(java.lang.Integer batchSize)
batchSize
- Size of input elements batch to be sent to Cloud DLP service in one request.public abstract DLPInspectText.Builder setProjectId(java.lang.String projectId)
projectId
- ID of Google Cloud project to be used when deidentifying data.public abstract DLPInspectText.Builder setColumnDelimiter(java.lang.String delimiter)
delimiter
- Delimiter to be used when splitting values from input strings into columns.public abstract DLPInspectText.Builder setHeaderColumns(PCollectionView<java.util.List<java.lang.String>> headerColumns)
headerColumns
- List of column names if the input KV value is a delimited row.public DLPInspectText build()