Interface RuleBasedProperties.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RuleBasedProperties.Builder,
,RuleBasedProperties> SdkBuilder<RuleBasedProperties.Builder,
,RuleBasedProperties> SdkPojo
- Enclosing class:
RuleBasedProperties
-
Method Summary
Modifier and TypeMethodDescriptionattributeMatchingModel
(String attributeMatchingModel) The comparison type.attributeMatchingModel
(AttributeMatchingModel attributeMatchingModel) The comparison type.matchPurpose
(String matchPurpose) An indicator of whether to generate IDs and index the data or not.matchPurpose
(MatchPurpose matchPurpose) An indicator of whether to generate IDs and index the data or not.rules
(Collection<Rule> rules) A list ofRule
objects, each of which have fieldsRuleName
andMatchingKeys
.rules
(Consumer<Rule.Builder>... rules) A list ofRule
objects, each of which have fieldsRuleName
andMatchingKeys
.A list ofRule
objects, each of which have fieldsRuleName
andMatchingKeys
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
rules
A list of
Rule
objects, each of which have fieldsRuleName
andMatchingKeys
.- Parameters:
rules
- A list ofRule
objects, each of which have fieldsRuleName
andMatchingKeys
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of
Rule
objects, each of which have fieldsRuleName
andMatchingKeys
.- Parameters:
rules
- A list ofRule
objects, each of which have fieldsRuleName
andMatchingKeys
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
A list of
This is a convenience method that creates an instance of theRule
objects, each of which have fieldsRuleName
andMatchingKeys
.Rule.Builder
avoiding the need to create one manually viaRule.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torules(List<Rule>)
.- Parameters:
rules
- a consumer that will call methods onRule.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeMatchingModel
The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B.- Parameters:
attributeMatchingModel
- The comparison type. You can either chooseONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
attributeMatchingModel
The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B.- Parameters:
attributeMatchingModel
- The comparison type. You can either chooseONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
.If you choose
MANY_TO_MANY
, the system can match attributes across the sub-types of an attribute type. For example, if the value of theEmail
field of Profile A and the value ofBusinessEmail
field of Profile B matches, the two profiles are matched on theEmail
attribute type.If you choose
ONE_TO_ONE
, the system can only match attributes if the sub-types are an exact match. For example, for theEmail
attribute type, the system will only consider it a match if the value of theEmail
field of Profile A matches the value of theEmail
field of Profile B.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchPurpose
An indicator of whether to generate IDs and index the data or not.
If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
INDEXING
, the process indexes the data without generating IDs.- Parameters:
matchPurpose
- An indicator of whether to generate IDs and index the data or not.If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
INDEXING
, the process indexes the data without generating IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matchPurpose
An indicator of whether to generate IDs and index the data or not.
If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
INDEXING
, the process indexes the data without generating IDs.- Parameters:
matchPurpose
- An indicator of whether to generate IDs and index the data or not.If you choose
IDENTIFIER_GENERATION
, the process generates IDs and indexes the data.If you choose
INDEXING
, the process indexes the data without generating IDs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-