Class CfnSchemaMapping.SchemaInputAttributeProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnSchemaMapping.SchemaInputAttributeProperty>
- Enclosing interface:
CfnSchemaMapping.SchemaInputAttributeProperty
CfnSchemaMapping.SchemaInputAttributeProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getFieldName()Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getGroupName()Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getHashed()hashed(IResolvable hashed) Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getHashed()Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getMatchKey()Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getSubType()Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
fieldName
@Stability(Stable) public CfnSchemaMapping.SchemaInputAttributeProperty.Builder fieldName(String fieldName) Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getFieldName()- Parameters:
fieldName- A string containing the field name. This parameter is required.- Returns:
this
-
type
Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getType()- Parameters:
type- The type of the attribute, selected from a list of values. This parameter is required. LiveRamp supports:NAME|NAME_FIRST|NAME_MIDDLE|NAME_LAST|ADDRESS|ADDRESS_STREET1|ADDRESS_STREET2|ADDRESS_STREET3|ADDRESS_CITY|ADDRESS_STATE|ADDRESS_COUNTRY|ADDRESS_POSTALCODE|PHONE|PHONE_NUMBER|EMAIL_ADDRESS|UNIQUE_ID|PROVIDER_IDTransUnion supports:
NAME|NAME_FIRST|NAME_LAST|ADDRESS|ADDRESS_CITY|ADDRESS_STATE|ADDRESS_COUNTRY|ADDRESS_POSTALCODE|PHONE_NUMBER|EMAIL_ADDRESS|UNIQUE_ID|IPV4|IPV6|MAIDUnified ID 2.0 supports:
PHONE_NUMBER|EMAIL_ADDRESS|UNIQUE_IDNormalization 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 theNAMEgroupName.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 theADDRESSgroupName.If you want to normalize
PHONE_NUMBERandPHONE_COUNTRYCODE, you must group them by assigning them to thePHONEgroupName.- Returns:
this
-
groupName
@Stability(Stable) public CfnSchemaMapping.SchemaInputAttributeProperty.Builder groupName(String groupName) Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getGroupName()- Parameters:
groupName- 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 asNAME_FIRST,NAME_MIDDLE, andNAME_LAST, assigning them a commongroupNamewill prompt AWS Entity Resolution to concatenate them into a single value.- Returns:
this
-
hashed
@Stability(Stable) public CfnSchemaMapping.SchemaInputAttributeProperty.Builder hashed(Boolean hashed) Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getHashed()- Parameters:
hashed- Indicates if the column values are hashed in the schema input. If the value is set toTRUE, the column values are hashed.If the value is set to
FALSE, the column values are cleartext.- Returns:
this
-
hashed
@Stability(Stable) public CfnSchemaMapping.SchemaInputAttributeProperty.Builder hashed(IResolvable hashed) Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getHashed()- Parameters:
hashed- Indicates if the column values are hashed in the schema input. If the value is set toTRUE, the column values are hashed.If the value is set to
FALSE, the column values are cleartext.- Returns:
this
-
matchKey
@Stability(Stable) public CfnSchemaMapping.SchemaInputAttributeProperty.Builder matchKey(String matchKey) Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getMatchKey()- Parameters:
matchKey- 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 asbusiness_addressandshipping_address. By assigning amatchKeycalledaddressto both attributes, AWS Entity Resolution will match records across these fields to create a consolidated matching group.If no
matchKeyis specified for a column, it won't be utilized for matching purposes but will still be included in the output table.- Returns:
this
-
subType
@Stability(Stable) public CfnSchemaMapping.SchemaInputAttributeProperty.Builder subType(String subType) Sets the value ofCfnSchemaMapping.SchemaInputAttributeProperty.getSubType()- Parameters:
subType- The subtype of the attribute, selected from a list of values.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnSchemaMapping.SchemaInputAttributeProperty>- Returns:
- a new instance of
CfnSchemaMapping.SchemaInputAttributeProperty - Throws:
NullPointerException- if any required attribute was not provided
-