Struct aws_sdk_glue::model::pii_detection::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for PiiDetection.
Implementations§
source§impl Builder
impl Builder
sourcepub fn inputs(self, input: impl Into<String>) -> Self
pub fn inputs(self, input: impl Into<String>) -> Self
Appends an item to inputs.
To override the contents of this collection use set_inputs.
The node ID inputs to the transform.
sourcepub fn set_inputs(self, input: Option<Vec<String>>) -> Self
pub fn set_inputs(self, input: Option<Vec<String>>) -> Self
The node ID inputs to the transform.
sourcepub fn set_pii_type(self, input: Option<PiiType>) -> Self
pub fn set_pii_type(self, input: Option<PiiType>) -> Self
Indicates the type of PIIDetection transform.
sourcepub fn entity_types_to_detect(self, input: impl Into<String>) -> Self
pub fn entity_types_to_detect(self, input: impl Into<String>) -> Self
Appends an item to entity_types_to_detect.
To override the contents of this collection use set_entity_types_to_detect.
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
sourcepub fn set_entity_types_to_detect(self, input: Option<Vec<String>>) -> Self
pub fn set_entity_types_to_detect(self, input: Option<Vec<String>>) -> Self
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
sourcepub fn output_column_name(self, input: impl Into<String>) -> Self
pub fn output_column_name(self, input: impl Into<String>) -> Self
Indicates the output column name that will contain any entity type detected in that row.
sourcepub fn set_output_column_name(self, input: Option<String>) -> Self
pub fn set_output_column_name(self, input: Option<String>) -> Self
Indicates the output column name that will contain any entity type detected in that row.
sourcepub fn sample_fraction(self, input: f64) -> Self
pub fn sample_fraction(self, input: f64) -> Self
Indicates the fraction of the data to sample when scanning for PII entities.
sourcepub fn set_sample_fraction(self, input: Option<f64>) -> Self
pub fn set_sample_fraction(self, input: Option<f64>) -> Self
Indicates the fraction of the data to sample when scanning for PII entities.
sourcepub fn threshold_fraction(self, input: f64) -> Self
pub fn threshold_fraction(self, input: f64) -> Self
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
sourcepub fn set_threshold_fraction(self, input: Option<f64>) -> Self
pub fn set_threshold_fraction(self, input: Option<f64>) -> Self
Indicates the fraction of the data that must be met in order for a column to be identified as PII data.
sourcepub fn mask_value(self, input: impl Into<String>) -> Self
pub fn mask_value(self, input: impl Into<String>) -> Self
Indicates the value that will replace the detected entity.
sourcepub fn set_mask_value(self, input: Option<String>) -> Self
pub fn set_mask_value(self, input: Option<String>) -> Self
Indicates the value that will replace the detected entity.
sourcepub fn build(self) -> PiiDetection
pub fn build(self) -> PiiDetection
Consumes the builder and constructs a PiiDetection.