Class SchemaInputAttribute
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<SchemaInputAttribute.Builder,
SchemaInputAttribute>
An object containing FieldName
, Type
, GroupName
, MatchKey
, and
SubType
.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SchemaInputAttribute.Builder
builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final String
A string containing the field name.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final String
A string that instructs Entity Resolution to combine several columns into a unified column with the identical attribute type.final int
hashCode()
final String
matchKey()
A key that allows grouping of multiple input attributes into a unified matching group.static Class
<? extends SchemaInputAttribute.Builder> final String
subType()
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 String
toString()
Returns a string representation of this object.final SchemaAttributeType
type()
The type of the attribute, selected from a list of values.final String
The 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.
-
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 commongroupName
will 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 commongroupName
will 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_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group. If nomatchKey
is 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_address
andshipping_address
. By assigning amatchKey
calledaddress
to both attributes, Entity Resolution will match records across these fields to create a consolidated matching group. If nomatchKey
is 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.
-
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,
type
will 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:
-
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,
type
will 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:
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<SchemaInputAttribute.Builder,
SchemaInputAttribute> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-