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.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, sdkFields
-
Method Details
-
attributeMatchingModel
The comparison type. You can either choose
ONE_TO_ONE
orMANY_TO_MANY
as the AttributeMatchingModel. When choosingMANY_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
type. When choosingONE_TO_ONE
,the system can only match if the sub-types are exact matches. For example, only when the value of theEmail
field of Profile A and the value of theEmail
field of Profile B matches, the two profiles are matched on theEmail
type.- Parameters:
attributeMatchingModel
- The comparison type. You can either chooseONE_TO_ONE
orMANY_TO_MANY
as the AttributeMatchingModel. When choosingMANY_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
type. When choosingONE_TO_ONE
,the system can only match if the sub-types are exact matches. For example, only when the value of theEmail
field of Profile A and the value of theEmail
field of Profile B matches, the two profiles are matched on theEmail
type.- 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 the AttributeMatchingModel. When choosingMANY_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
type. When choosingONE_TO_ONE
,the system can only match if the sub-types are exact matches. For example, only when the value of theEmail
field of Profile A and the value of theEmail
field of Profile B matches, the two profiles are matched on theEmail
type.- Parameters:
attributeMatchingModel
- The comparison type. You can either chooseONE_TO_ONE
orMANY_TO_MANY
as the AttributeMatchingModel. When choosingMANY_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
type. When choosingONE_TO_ONE
,the system can only match if the sub-types are exact matches. For example, only when the value of theEmail
field of Profile A and the value of theEmail
field of Profile B matches, the two profiles are matched on theEmail
type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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:
-