Interface RuleBasedProperties.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<RuleBasedProperties.Builder,RuleBasedProperties>,SdkBuilder<RuleBasedProperties.Builder,RuleBasedProperties>,SdkPojo
- Enclosing class:
- RuleBasedProperties
public static interface RuleBasedProperties.Builder extends SdkPojo, CopyableBuilder<RuleBasedProperties.Builder,RuleBasedProperties>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description RuleBasedProperties.BuilderattributeMatchingModel(String attributeMatchingModel)The comparison type.RuleBasedProperties.BuilderattributeMatchingModel(AttributeMatchingModel attributeMatchingModel)The comparison type.RuleBasedProperties.Builderrules(Collection<Rule> rules)A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys.RuleBasedProperties.Builderrules(Consumer<Rule.Builder>... rules)A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys.RuleBasedProperties.Builderrules(Rule... rules)A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys.-
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 Detail
-
attributeMatchingModel
RuleBasedProperties.Builder attributeMatchingModel(String attributeMatchingModel)
The comparison type. You can either choose
ONE_TO_ONEorMANY_TO_MANYas 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 theEmailfield of Profile A and the value ofBusinessEmailfield of Profile B matches, the two profiles are matched on theEmailtype. When choosingONE_TO_ONE,the system can only match if the sub-types are exact matches. For example, only when the value of theEmailfield of Profile A and the value of theEmailfield of Profile B matches, the two profiles are matched on theEmailtype.- Parameters:
attributeMatchingModel- The comparison type. You can either chooseONE_TO_ONEorMANY_TO_MANYas 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 theEmailfield of Profile A and the value ofBusinessEmailfield of Profile B matches, the two profiles are matched on theEmailtype. When choosingONE_TO_ONE,the system can only match if the sub-types are exact matches. For example, only when the value of theEmailfield of Profile A and the value of theEmailfield of Profile B matches, the two profiles are matched on theEmailtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttributeMatchingModel,AttributeMatchingModel
-
attributeMatchingModel
RuleBasedProperties.Builder attributeMatchingModel(AttributeMatchingModel attributeMatchingModel)
The comparison type. You can either choose
ONE_TO_ONEorMANY_TO_MANYas 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 theEmailfield of Profile A and the value ofBusinessEmailfield of Profile B matches, the two profiles are matched on theEmailtype. When choosingONE_TO_ONE,the system can only match if the sub-types are exact matches. For example, only when the value of theEmailfield of Profile A and the value of theEmailfield of Profile B matches, the two profiles are matched on theEmailtype.- Parameters:
attributeMatchingModel- The comparison type. You can either chooseONE_TO_ONEorMANY_TO_MANYas 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 theEmailfield of Profile A and the value ofBusinessEmailfield of Profile B matches, the two profiles are matched on theEmailtype. When choosingONE_TO_ONE,the system can only match if the sub-types are exact matches. For example, only when the value of theEmailfield of Profile A and the value of theEmailfield of Profile B matches, the two profiles are matched on theEmailtype.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AttributeMatchingModel,AttributeMatchingModel
-
rules
RuleBasedProperties.Builder rules(Collection<Rule> rules)
A list of
Ruleobjects, each of which have fieldsRuleNameandMatchingKeys.- Parameters:
rules- A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
RuleBasedProperties.Builder rules(Rule... rules)
A list of
Ruleobjects, each of which have fieldsRuleNameandMatchingKeys.- Parameters:
rules- A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
rules
RuleBasedProperties.Builder rules(Consumer<Rule.Builder>... rules)
A list of
This is a convenience method that creates an instance of theRuleobjects, each of which have fieldsRuleNameandMatchingKeys.Rule.Builderavoiding the need to create one manually viaRule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#rules(List.) - 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:
#rules(java.util.Collection)
-
-