Struct aws_sdk_glue::types::builders::PiiDetectionBuilder
source · #[non_exhaustive]pub struct PiiDetectionBuilder { /* private fields */ }Expand description
A builder for PiiDetection.
Implementations§
source§impl PiiDetectionBuilder
impl PiiDetectionBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the transform node.
This field is required.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 get_inputs(&self) -> &Option<Vec<String>>
pub fn get_inputs(&self) -> &Option<Vec<String>>
The node ID inputs to the transform.
sourcepub fn pii_type(self, input: PiiType) -> Self
pub fn pii_type(self, input: PiiType) -> Self
Indicates the type of PIIDetection transform.
This field is required.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 get_pii_type(&self) -> &Option<PiiType>
pub fn get_pii_type(&self) -> &Option<PiiType>
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 get_entity_types_to_detect(&self) -> &Option<Vec<String>>
pub fn get_entity_types_to_detect(&self) -> &Option<Vec<String>>
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 get_output_column_name(&self) -> &Option<String>
pub fn get_output_column_name(&self) -> &Option<String>
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 get_sample_fraction(&self) -> &Option<f64>
pub fn get_sample_fraction(&self) -> &Option<f64>
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 get_threshold_fraction(&self) -> &Option<f64>
pub fn get_threshold_fraction(&self) -> &Option<f64>
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 get_mask_value(&self) -> &Option<String>
pub fn get_mask_value(&self) -> &Option<String>
Indicates the value that will replace the detected entity.
sourcepub fn build(self) -> Result<PiiDetection, BuildError>
pub fn build(self) -> Result<PiiDetection, BuildError>
Consumes the builder and constructs a PiiDetection.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for PiiDetectionBuilder
impl Clone for PiiDetectionBuilder
source§fn clone(&self) -> PiiDetectionBuilder
fn clone(&self) -> PiiDetectionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for PiiDetectionBuilder
impl Debug for PiiDetectionBuilder
source§impl Default for PiiDetectionBuilder
impl Default for PiiDetectionBuilder
source§fn default() -> PiiDetectionBuilder
fn default() -> PiiDetectionBuilder
source§impl PartialEq for PiiDetectionBuilder
impl PartialEq for PiiDetectionBuilder
source§fn eq(&self, other: &PiiDetectionBuilder) -> bool
fn eq(&self, other: &PiiDetectionBuilder) -> bool
self and other values to be equal, and is used
by ==.