Class CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.entityresolution.CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdNamespace.NamespaceRuleBasedPropertiesProperty>
- Enclosing interface:
CfnIdNamespace.NamespaceRuleBasedPropertiesProperty
@Stability(Stable)
public static final class CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdNamespace.NamespaceRuleBasedPropertiesProperty>
A builder for
CfnIdNamespace.NamespaceRuleBasedPropertiesProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionattributeMatchingModel
(String attributeMatchingModel) build()
Builds the configured instance.recordMatchingModels
(List<String> recordMatchingModels) ruleDefinitionTypes
(List<String> ruleDefinitionTypes) Sets the value ofCfnIdNamespace.NamespaceRuleBasedPropertiesProperty.getRules()
rules
(IResolvable rules) Sets the value ofCfnIdNamespace.NamespaceRuleBasedPropertiesProperty.getRules()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attributeMatchingModel
@Stability(Stable) public CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder attributeMatchingModel(String attributeMatchingModel) - Parameters:
attributeMatchingModel
- The comparison type. You can either chooseONE_TO_ONE
orMANY_TO_MANY
as theattributeMatchingModel
. 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 matches the value ofBusinessEmail
field of Profile B, 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
-
recordMatchingModels
@Stability(Stable) public CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder recordMatchingModels(List<String> recordMatchingModels) - Parameters:
recordMatchingModels
- The type of matching record that is allowed to be used in an ID mapping workflow. If the value is set toONE_SOURCE_TO_ONE_TARGET
, only one record in the source is matched to one record in the target.If the value is set to
MANY_SOURCE_TO_ONE_TARGET
, all matching records in the source are matched to one record in the target.- Returns:
this
-
ruleDefinitionTypes
@Stability(Stable) public CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder ruleDefinitionTypes(List<String> ruleDefinitionTypes) - Parameters:
ruleDefinitionTypes
- The sets of rules you can use in an ID mapping workflow. The limitations specified for the source and target must be compatible.- Returns:
this
-
rules
@Stability(Stable) public CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder rules(IResolvable rules) Sets the value ofCfnIdNamespace.NamespaceRuleBasedPropertiesProperty.getRules()
- Parameters:
rules
- The rules for the ID namespace.- Returns:
this
-
rules
@Stability(Stable) public CfnIdNamespace.NamespaceRuleBasedPropertiesProperty.Builder rules(List<? extends Object> rules) Sets the value ofCfnIdNamespace.NamespaceRuleBasedPropertiesProperty.getRules()
- Parameters:
rules
- The rules for the ID namespace.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnIdNamespace.NamespaceRuleBasedPropertiesProperty>
- Returns:
- a new instance of
CfnIdNamespace.NamespaceRuleBasedPropertiesProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-