Class SchemaInputAttribute
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SchemaInputAttribute.Builder,SchemaInputAttribute>
A configuration object for defining input data fields in Entity Resolution. The SchemaInputAttribute
specifies how individual fields in your input data should be processed and matched.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaInputAttribute.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringA string containing the field name.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final StringA string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.final inthashCode()final Booleanhashed()Indicates if the column values are hashed in the schema input.final StringmatchKey()A key that allows grouping of multiple input attributes into a unified matching group.static Class<? extends SchemaInputAttribute.Builder> final StringsubType()The subtype of the attribute, selected from a list of values.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final SchemaAttributeTypetype()The type of the attribute, selected from a list of values.final StringThe type of the attribute, selected from a list of values.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
fieldName
A string containing the field name.
- Returns:
- A string containing the field name.
-
type
The type of the attribute, selected from a list of values.
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.If the service returns an enum value that is not available in the current SDK version,
typewill returnSchemaAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the attribute, selected from a list of values.
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. - See Also:
-
typeAsString
The type of the attribute, selected from a list of values.
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.If the service returns an enum value that is not available in the current SDK version,
typewill returnSchemaAttributeType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromtypeAsString().- Returns:
- The type of the attribute, selected from a list of values.
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. - See Also:
-
groupName
A string that instructs 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 commongroupNamewill prompt Entity Resolution to concatenate them into a single value.- Returns:
- A string that instructs 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 commongroupNamewill prompt Entity Resolution to concatenate them into a single value.
-
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 as
business_addressandshipping_address. By assigning amatchKeycalledaddressto both attributes, 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:
- 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_addressandshipping_address. By assigning amatchKeycalledaddressto both attributes, 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.
-
subType
The subtype of the attribute, selected from a list of values.
- Returns:
- The subtype of the attribute, selected from a list of values.
-
hashed
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.- Returns:
- 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.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SchemaInputAttribute.Builder,SchemaInputAttribute> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-