/* * Copyright 2018-2023 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with * the License. A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions * and limitations under the License. */ package com.amazonaws.services.gluedatabrew.model; import java.io.Serializable; import javax.annotation.Generated; import com.amazonaws.protocol.StructuredPojo; import com.amazonaws.protocol.ProtocolMarshaller; /** *
* Configuration of entity detection for a profile job. When undefined, entity detection is disabled. *
* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class EntityDetectorConfiguration implements Serializable, Cloneable, StructuredPojo { /** ** Entity types to detect. Can be any of the following: *
** USA_SSN *
** EMAIL *
** USA_ITIN *
** USA_PASSPORT_NUMBER *
** PHONE_NUMBER *
** USA_DRIVING_LICENSE *
** BANK_ACCOUNT *
** CREDIT_CARD *
** IP_ADDRESS *
** MAC_ADDRESS *
** USA_DEA_NUMBER *
** USA_HCPCS_CODE *
** USA_NATIONAL_PROVIDER_IDENTIFIER *
** USA_NATIONAL_DRUG_CODE *
** USA_HEALTH_INSURANCE_CLAIM_NUMBER *
** USA_MEDICARE_BENEFICIARY_IDENTIFIER *
** USA_CPT_CODE *
** PERSON_NAME *
** DATE *
** The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME * and DATE. *
*/ private java.util.List* Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined, * no statistics will be computed on columns that contain detected entities. *
*/ private java.util.List* Entity types to detect. Can be any of the following: *
** USA_SSN *
** EMAIL *
** USA_ITIN *
** USA_PASSPORT_NUMBER *
** PHONE_NUMBER *
** USA_DRIVING_LICENSE *
** BANK_ACCOUNT *
** CREDIT_CARD *
** IP_ADDRESS *
** MAC_ADDRESS *
** USA_DEA_NUMBER *
** USA_HCPCS_CODE *
** USA_NATIONAL_PROVIDER_IDENTIFIER *
** USA_NATIONAL_DRUG_CODE *
** USA_HEALTH_INSURANCE_CLAIM_NUMBER *
** USA_MEDICARE_BENEFICIARY_IDENTIFIER *
** USA_CPT_CODE *
** PERSON_NAME *
** DATE *
** The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME * and DATE. *
* * @return Entity types to detect. Can be any of the following: ** USA_SSN *
** EMAIL *
** USA_ITIN *
** USA_PASSPORT_NUMBER *
** PHONE_NUMBER *
** USA_DRIVING_LICENSE *
** BANK_ACCOUNT *
** CREDIT_CARD *
** IP_ADDRESS *
** MAC_ADDRESS *
** USA_DEA_NUMBER *
** USA_HCPCS_CODE *
** USA_NATIONAL_PROVIDER_IDENTIFIER *
** USA_NATIONAL_DRUG_CODE *
** USA_HEALTH_INSURANCE_CLAIM_NUMBER *
** USA_MEDICARE_BENEFICIARY_IDENTIFIER *
** USA_CPT_CODE *
** PERSON_NAME *
** DATE *
*
* The Entity type group USA_ALL is also supported, and includes all of the above entity types except
* PERSON_NAME and DATE.
*/
public java.util.List
* Entity types to detect. Can be any of the following:
*
* USA_SSN
*
* EMAIL
*
* USA_ITIN
*
* USA_PASSPORT_NUMBER
*
* PHONE_NUMBER
*
* USA_DRIVING_LICENSE
*
* BANK_ACCOUNT
*
* CREDIT_CARD
*
* IP_ADDRESS
*
* MAC_ADDRESS
*
* USA_DEA_NUMBER
*
* USA_HCPCS_CODE
*
* USA_NATIONAL_PROVIDER_IDENTIFIER
*
* USA_NATIONAL_DRUG_CODE
*
* USA_HEALTH_INSURANCE_CLAIM_NUMBER
*
* USA_MEDICARE_BENEFICIARY_IDENTIFIER
*
* USA_CPT_CODE
*
* PERSON_NAME
*
* DATE
*
* The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME
* and DATE.
*
*
*
* USA_SSN *
** EMAIL *
** USA_ITIN *
** USA_PASSPORT_NUMBER *
** PHONE_NUMBER *
** USA_DRIVING_LICENSE *
** BANK_ACCOUNT *
** CREDIT_CARD *
** IP_ADDRESS *
** MAC_ADDRESS *
** USA_DEA_NUMBER *
** USA_HCPCS_CODE *
** USA_NATIONAL_PROVIDER_IDENTIFIER *
** USA_NATIONAL_DRUG_CODE *
** USA_HEALTH_INSURANCE_CLAIM_NUMBER *
** USA_MEDICARE_BENEFICIARY_IDENTIFIER *
** USA_CPT_CODE *
** PERSON_NAME *
** DATE *
*
* The Entity type group USA_ALL is also supported, and includes all of the above entity types except
* PERSON_NAME and DATE.
*/
public void setEntityTypes(java.util.Collection
* Entity types to detect. Can be any of the following:
*
* USA_SSN
*
* EMAIL
*
* USA_ITIN
*
* USA_PASSPORT_NUMBER
*
* PHONE_NUMBER
*
* USA_DRIVING_LICENSE
*
* BANK_ACCOUNT
*
* CREDIT_CARD
*
* IP_ADDRESS
*
* MAC_ADDRESS
*
* USA_DEA_NUMBER
*
* USA_HCPCS_CODE
*
* USA_NATIONAL_PROVIDER_IDENTIFIER
*
* USA_NATIONAL_DRUG_CODE
*
* USA_HEALTH_INSURANCE_CLAIM_NUMBER
*
* USA_MEDICARE_BENEFICIARY_IDENTIFIER
*
* USA_CPT_CODE
*
* PERSON_NAME
*
* DATE
*
* The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME
* and DATE.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setEntityTypes(java.util.Collection)} or {@link #withEntityTypes(java.util.Collection)} if you want to
* override the existing values.
*
*
*
* USA_SSN *
** EMAIL *
** USA_ITIN *
** USA_PASSPORT_NUMBER *
** PHONE_NUMBER *
** USA_DRIVING_LICENSE *
** BANK_ACCOUNT *
** CREDIT_CARD *
** IP_ADDRESS *
** MAC_ADDRESS *
** USA_DEA_NUMBER *
** USA_HCPCS_CODE *
** USA_NATIONAL_PROVIDER_IDENTIFIER *
** USA_NATIONAL_DRUG_CODE *
** USA_HEALTH_INSURANCE_CLAIM_NUMBER *
** USA_MEDICARE_BENEFICIARY_IDENTIFIER *
** USA_CPT_CODE *
** PERSON_NAME *
** DATE *
*
* The Entity type group USA_ALL is also supported, and includes all of the above entity types except
* PERSON_NAME and DATE.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public EntityDetectorConfiguration withEntityTypes(String... entityTypes) {
if (this.entityTypes == null) {
setEntityTypes(new java.util.ArrayList
* Entity types to detect. Can be any of the following:
*
* USA_SSN
*
* EMAIL
*
* USA_ITIN
*
* USA_PASSPORT_NUMBER
*
* PHONE_NUMBER
*
* USA_DRIVING_LICENSE
*
* BANK_ACCOUNT
*
* CREDIT_CARD
*
* IP_ADDRESS
*
* MAC_ADDRESS
*
* USA_DEA_NUMBER
*
* USA_HCPCS_CODE
*
* USA_NATIONAL_PROVIDER_IDENTIFIER
*
* USA_NATIONAL_DRUG_CODE
*
* USA_HEALTH_INSURANCE_CLAIM_NUMBER
*
* USA_MEDICARE_BENEFICIARY_IDENTIFIER
*
* USA_CPT_CODE
*
* PERSON_NAME
*
* DATE
*
* The Entity type group USA_ALL is also supported, and includes all of the above entity types except PERSON_NAME
* and DATE.
*
*
*
* USA_SSN *
** EMAIL *
** USA_ITIN *
** USA_PASSPORT_NUMBER *
** PHONE_NUMBER *
** USA_DRIVING_LICENSE *
** BANK_ACCOUNT *
** CREDIT_CARD *
** IP_ADDRESS *
** MAC_ADDRESS *
** USA_DEA_NUMBER *
** USA_HCPCS_CODE *
** USA_NATIONAL_PROVIDER_IDENTIFIER *
** USA_NATIONAL_DRUG_CODE *
** USA_HEALTH_INSURANCE_CLAIM_NUMBER *
** USA_MEDICARE_BENEFICIARY_IDENTIFIER *
** USA_CPT_CODE *
** PERSON_NAME *
** DATE *
*
* The Entity type group USA_ALL is also supported, and includes all of the above entity types except
* PERSON_NAME and DATE.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public EntityDetectorConfiguration withEntityTypes(java.util.Collection
* Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined,
* no statistics will be computed on columns that contain detected entities.
*
* Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined,
* no statistics will be computed on columns that contain detected entities.
*
* Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined,
* no statistics will be computed on columns that contain detected entities.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setAllowedStatistics(java.util.Collection)} or {@link #withAllowedStatistics(java.util.Collection)} if
* you want to override the existing values.
*
* Configuration of statistics that are allowed to be run on columns that contain detected entities. When undefined,
* no statistics will be computed on columns that contain detected entities.
*