/*
* Copyright 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.
*/
/*
* Do not modify this file. This file is generated from the databrew-2017-07-25.normal.json service model.
*/
using System;
using System.Collections.Generic;
using System.Xml.Serialization;
using System.Text;
using System.IO;
using System.Net;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
namespace Amazon.GlueDataBrew.Model
{
///
/// Configuration of entity detection for a profile job. When undefined, entity detection
/// is disabled.
///
public partial class EntityDetectorConfiguration
{
private List _allowedStatistics = new List();
private List _entityTypes = new List();
///
/// Gets and sets the property AllowedStatistics.
///
/// 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.
///
///
[AWSProperty(Min=1)]
public List AllowedStatistics
{
get { return this._allowedStatistics; }
set { this._allowedStatistics = value; }
}
// Check to see if AllowedStatistics property is set
internal bool IsSetAllowedStatistics()
{
return this._allowedStatistics != null && this._allowedStatistics.Count > 0;
}
///
/// Gets and sets the property EntityTypes.
///
/// 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.
///
///
[AWSProperty(Required=true, Min=1)]
public List EntityTypes
{
get { return this._entityTypes; }
set { this._entityTypes = value; }
}
// Check to see if EntityTypes property is set
internal bool IsSetEntityTypes()
{
return this._entityTypes != null && this._entityTypes.Count > 0;
}
}
}