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 either chooseONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
. This parameter is required. If you chooseMANY_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:
this
-
rules
@Stability(Stable) public CfnMatchingWorkflow.RuleBasedPropertiesProperty.Builder rules(IResolvable rules) Sets the value ofCfnMatchingWorkflow.RuleBasedPropertiesProperty.getRules()
- Parameters:
rules
- A list ofRule
objects, each of which have fieldsRuleName
andMatchingKeys
. 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 ofRule
objects, each of which have fieldsRuleName
andMatchingKeys
. 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnMatchingWorkflow.RuleBasedPropertiesProperty>
- Returns:
- a new instance of
CfnMatchingWorkflow.RuleBasedPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-