Class SchemaInputAttribute
- java.lang.Object
-
- software.amazon.awssdk.services.entityresolution.model.SchemaInputAttribute
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SchemaInputAttribute.Builder,SchemaInputAttribute>
@Generated("software.amazon.awssdk:codegen") public final class SchemaInputAttribute extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SchemaInputAttribute.Builder,SchemaInputAttribute>
An object containing
FieldName,Type,GroupName,MatchKey,Hashing, andSubType.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSchemaInputAttribute.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaInputAttribute.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfieldName()A string containing the field name.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)StringgroupName()A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.inthashCode()Booleanhashed()Indicates if the column values are hashed in the schema input.StringmatchKey()A key that allows grouping of multiple input attributes into a unified matching group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SchemaInputAttribute.Builder>serializableBuilderClass()StringsubType()The subtype of the attribute, selected from a list of values.SchemaInputAttribute.BuildertoBuilder()StringtoString()Returns a string representation of this object.SchemaAttributeTypetype()The type of the attribute, selected from a list of values.StringtypeAsString()The type of the attribute, selected from a list of values.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fieldName
public final String fieldName()
A string containing the field name.
- Returns:
- A string containing the field name.
-
groupName
public final String 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
first_name,middle_name, andlast_name, 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
first_name,middle_name, andlast_name, assigning them a commongroupNamewill prompt Entity Resolution to concatenate them into a single value.
-
hashed
public final Boolean 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 toFALSE, 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 toFALSE, the column values are cleartext.
-
matchKey
public final String 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
public final String subType()
The subtype of the attribute, selected from a list of values.
- Returns:
- The subtype of the attribute, selected from a list of values.
-
type
public final SchemaAttributeType type()
The type of the attribute, selected from a list of values.
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.
- See Also:
SchemaAttributeType
-
typeAsString
public final String typeAsString()
The type of the attribute, selected from a list of values.
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.
- See Also:
SchemaAttributeType
-
toBuilder
public SchemaInputAttribute.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SchemaInputAttribute.Builder,SchemaInputAttribute>
-
builder
public static SchemaInputAttribute.Builder builder()
-
serializableBuilderClass
public static Class<? extends SchemaInputAttribute.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-