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