Class CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.entityresolution.CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMatchingWorkflow.RuleBasedPropertiesProperty>
- Enclosing interface:
CfnMatchingWorkflow.RuleBasedPropertiesProperty
@Stability(Stable)
public static final class CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMatchingWorkflow.RuleBasedPropertiesProperty>
A builder for
CfnMatchingWorkflow.RuleBasedPropertiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeMatchingModel(String attributeMatchingModel) build()Builds the configured instance.matchPurpose(String matchPurpose) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getMatchPurpose()Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()rules(IResolvable rules) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeMatchingModel
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder attributeMatchingModel(String attributeMatchingModel) - Parameters:
attributeMatchingModel- The comparison type. You can chooseONE_TO_ONEorMANY_TO_MANYas theattributeMatchingModel. This parameter is required. If you chooseONE_TO_ONE, the system can only match attributes if the sub-types are an exact match. For example, for theEmailattribute type, the system will only consider it a match if the value of theEmailfield of Profile A matches the value of theEmailfield of Profile B.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 theEmailfield of Profile A and the value ofBusinessEmailfield of Profile B matches, the two profiles are matched on theEmailattribute type.- Returns:
this
-
rules
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder rules(IResolvable rules) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()- Parameters:
rules- A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys. This parameter is required.- Returns:
this
-
rules
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder rules(List<? extends Object> rules) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()- Parameters:
rules- A list ofRuleobjects, each of which have fieldsRuleNameandMatchingKeys. This parameter is required.- Returns:
this
-
matchPurpose
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder matchPurpose(String matchPurpose) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getMatchPurpose()- Parameters:
matchPurpose- An indicator of whether to generate IDs and index the data or not. If you chooseIDENTIFIER_GENERATION, the process generates IDs and indexes the data.If you choose
INDEXING, the process indexes the data without generating IDs.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMatchingWorkflow.RuleBasedPropertiesProperty>- Returns:
- a new instance of
CfnMatchingWorkflow.RuleBasedPropertiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-