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