@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PIIDetection extends Object implements Serializable, Cloneable, StructuredPojo
Specifies a transform that identifies, removes or masks PII data.
Constructor and Description |
---|
PIIDetection() |
Modifier and Type | Method and Description |
---|---|
PIIDetection |
clone() |
boolean |
equals(Object obj) |
List<String> |
getEntityTypesToDetect()
Indicates the types of entities the PIIDetection transform will identify as PII data.
|
List<String> |
getInputs()
The node ID inputs to the transform.
|
String |
getMaskValue()
Indicates the value that will replace the detected entity.
|
String |
getName()
The name of the transform node.
|
String |
getOutputColumnName()
Indicates the output column name that will contain any entity type detected in that row.
|
String |
getPiiType()
Indicates the type of PIIDetection transform.
|
Double |
getSampleFraction()
Indicates the fraction of the data to sample when scanning for PII entities.
|
Double |
getThresholdFraction()
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEntityTypesToDetect(Collection<String> entityTypesToDetect)
Indicates the types of entities the PIIDetection transform will identify as PII data.
|
void |
setInputs(Collection<String> inputs)
The node ID inputs to the transform.
|
void |
setMaskValue(String maskValue)
Indicates the value that will replace the detected entity.
|
void |
setName(String name)
The name of the transform node.
|
void |
setOutputColumnName(String outputColumnName)
Indicates the output column name that will contain any entity type detected in that row.
|
void |
setPiiType(String piiType)
Indicates the type of PIIDetection transform.
|
void |
setSampleFraction(Double sampleFraction)
Indicates the fraction of the data to sample when scanning for PII entities.
|
void |
setThresholdFraction(Double thresholdFraction)
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
|
String |
toString()
Returns a string representation of this object.
|
PIIDetection |
withEntityTypesToDetect(Collection<String> entityTypesToDetect)
Indicates the types of entities the PIIDetection transform will identify as PII data.
|
PIIDetection |
withEntityTypesToDetect(String... entityTypesToDetect)
Indicates the types of entities the PIIDetection transform will identify as PII data.
|
PIIDetection |
withInputs(Collection<String> inputs)
The node ID inputs to the transform.
|
PIIDetection |
withInputs(String... inputs)
The node ID inputs to the transform.
|
PIIDetection |
withMaskValue(String maskValue)
Indicates the value that will replace the detected entity.
|
PIIDetection |
withName(String name)
The name of the transform node.
|
PIIDetection |
withOutputColumnName(String outputColumnName)
Indicates the output column name that will contain any entity type detected in that row.
|
PIIDetection |
withPiiType(PiiType piiType)
Indicates the type of PIIDetection transform.
|
PIIDetection |
withPiiType(String piiType)
Indicates the type of PIIDetection transform.
|
PIIDetection |
withSampleFraction(Double sampleFraction)
Indicates the fraction of the data to sample when scanning for PII entities.
|
PIIDetection |
withThresholdFraction(Double thresholdFraction)
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
|
public void setName(String name)
The name of the transform node.
name
- The name of the transform node.public String getName()
The name of the transform node.
public PIIDetection withName(String name)
The name of the transform node.
name
- The name of the transform node.public List<String> getInputs()
The node ID inputs to the transform.
public void setInputs(Collection<String> inputs)
The node ID inputs to the transform.
inputs
- The node ID inputs to the transform.public PIIDetection withInputs(String... inputs)
The node ID inputs to the transform.
NOTE: This method appends the values to the existing list (if any). Use
setInputs(java.util.Collection)
or withInputs(java.util.Collection)
if you want to override the
existing values.
inputs
- The node ID inputs to the transform.public PIIDetection withInputs(Collection<String> inputs)
The node ID inputs to the transform.
inputs
- The node ID inputs to the transform.public void setPiiType(String piiType)
Indicates the type of PIIDetection transform.
piiType
- Indicates the type of PIIDetection transform.PiiType
public String getPiiType()
Indicates the type of PIIDetection transform.
PiiType
public PIIDetection withPiiType(String piiType)
Indicates the type of PIIDetection transform.
piiType
- Indicates the type of PIIDetection transform.PiiType
public PIIDetection withPiiType(PiiType piiType)
Indicates the type of PIIDetection transform.
piiType
- Indicates the type of PIIDetection transform.PiiType
public List<String> getEntityTypesToDetect()
Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD ,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
public void setEntityTypesToDetect(Collection<String> entityTypesToDetect)
Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
entityTypesToDetect
- Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER ,USA_DEA_NUMBER,USA_DRIVING_LICENSE
public PIIDetection withEntityTypesToDetect(String... entityTypesToDetect)
Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
NOTE: This method appends the values to the existing list (if any). Use
setEntityTypesToDetect(java.util.Collection)
or withEntityTypesToDetect(java.util.Collection)
if you want to override the existing values.
entityTypesToDetect
- Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER ,USA_DEA_NUMBER,USA_DRIVING_LICENSE
public PIIDetection withEntityTypesToDetect(Collection<String> entityTypesToDetect)
Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER,USA_DEA_NUMBER,USA_DRIVING_LICENSE
entityTypesToDetect
- Indicates the types of entities the PIIDetection transform will identify as PII data.
PII type entities include: PERSON_NAME, DATE, USA_SNN, EMAIL, USA_ITIN, USA_PASSPORT_NUMBER, PHONE_NUMBER, BANK_ACCOUNT, IP_ADDRESS, MAC_ADDRESS, USA_CPT_CODE, USA_HCPCS_CODE, USA_NATIONAL_DRUG_CODE, USA_MEDICARE_BENEFICIARY_IDENTIFIER, USA_HEALTH_INSURANCE_CLAIM_NUMBER,CREDIT_CARD,USA_NATIONAL_PROVIDER_IDENTIFIER ,USA_DEA_NUMBER,USA_DRIVING_LICENSE
public void setOutputColumnName(String outputColumnName)
Indicates the output column name that will contain any entity type detected in that row.
outputColumnName
- Indicates the output column name that will contain any entity type detected in that row.public String getOutputColumnName()
Indicates the output column name that will contain any entity type detected in that row.
public PIIDetection withOutputColumnName(String outputColumnName)
Indicates the output column name that will contain any entity type detected in that row.
outputColumnName
- Indicates the output column name that will contain any entity type detected in that row.public void setSampleFraction(Double sampleFraction)
Indicates the fraction of the data to sample when scanning for PII entities.
sampleFraction
- Indicates the fraction of the data to sample when scanning for PII entities.public Double getSampleFraction()
Indicates the fraction of the data to sample when scanning for PII entities.
public PIIDetection withSampleFraction(Double sampleFraction)
Indicates the fraction of the data to sample when scanning for PII entities.
sampleFraction
- Indicates the fraction of the data to sample when scanning for PII entities.public void setThresholdFraction(Double thresholdFraction)
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
thresholdFraction
- Indicates the fraction of the data that must be met in order for a column to be identified as PII data.public Double getThresholdFraction()
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
public PIIDetection withThresholdFraction(Double thresholdFraction)
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
thresholdFraction
- Indicates the fraction of the data that must be met in order for a column to be identified as PII data.public void setMaskValue(String maskValue)
Indicates the value that will replace the detected entity.
maskValue
- Indicates the value that will replace the detected entity.public String getMaskValue()
Indicates the value that will replace the detected entity.
public PIIDetection withMaskValue(String maskValue)
Indicates the value that will replace the detected entity.
maskValue
- Indicates the value that will replace the detected entity.public String toString()
toString
in class Object
Object.toString()
public PIIDetection clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.