Interface CfnSchemaMapping.SchemaInputAttributeProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnSchemaMapping.SchemaInputAttributeProperty.Jsii$Proxy
- Enclosing class:
CfnSchemaMapping
The SchemaInputAttribute specifies how individual fields in your input data should be processed and matched.
Example:
// The code below shows an example of how to instantiate this type. // The values are placeholders you should change. import software.amazon.awscdk.services.entityresolution.*; SchemaInputAttributeProperty schemaInputAttributeProperty = SchemaInputAttributeProperty.builder() .fieldName("fieldName") .type("type") // the properties below are optional .groupName("groupName") .hashed(false) .matchKey("matchKey") .subType("subType") .build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final class
A builder forCfnSchemaMapping.SchemaInputAttributeProperty
static final class
An implementation forCfnSchemaMapping.SchemaInputAttributeProperty
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
A string containing the field name.default String
A string that instructs AWS Entity Resolution to combine several columns into a unified column with the identical attribute type.default Object
Indicates if the column values are hashed in the schema input.default String
A key that allows grouping of multiple input attributes into a unified matching group.default String
The subtype of the attribute, selected from a list of values.getType()
The type of the attribute, selected from a list of values.Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getFieldName
A string containing the field name.- See Also:
-
getType
The type of the attribute, selected from a list of values.Normalization is only supported for
NAME
,ADDRESS
,PHONE
, andEMAIL_ADDRESS
.If you want to normalize
NAME_FIRST
,NAME_MIDDLE
, andNAME_LAST
, you must group them by assigning them to theNAME
groupName
.If you want to normalize
ADDRESS_STREET1
,ADDRESS_STREET2
,ADDRESS_STREET3
,ADDRESS_CITY
,ADDRESS_STATE
,ADDRESS_COUNTRY
, andADDRESS_POSTALCODE
, you must group them by assigning them to theADDRESS
groupName
.If you want to normalize
PHONE_NUMBER
andPHONE_COUNTRYCODE
, you must group them by assigning them to thePHONE
groupName
.- See Also:
-
getGroupName
A string that instructs AWS Entity Resolution to combine several columns into a unified column with the identical attribute type.For example, when working with columns such as
NAME_FIRST
,NAME_MIDDLE
, andNAME_LAST
, assigning them a commongroupName
will prompt AWS Entity Resolution to concatenate them into a single value.- See Also:
-
getHashed
Indicates if the column values are hashed in the schema input.If the value is set to
TRUE
, the column values are hashed.If the value is set to
FALSE
, the column values are cleartext.- See Also:
-
getMatchKey
A key that allows grouping of multiple input attributes into a unified matching group.For example, consider a scenario where the source table contains various addresses, such as
business_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, AWS Entity Resolution will match records across these fields to create a consolidated matching group.If no
matchKey
is specified for a column, it won't be utilized for matching purposes but will still be included in the output table.- See Also:
-
getSubType
The subtype of the attribute, selected from a list of values.- See Also:
-
builder
-