Class CfnIdNamespace.RuleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.entityresolution.CfnIdNamespace.RuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnIdNamespace.RuleProperty>
- Enclosing interface:
CfnIdNamespace.RuleProperty
@Stability(Stable)
public static final class CfnIdNamespace.RuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnIdNamespace.RuleProperty>
A builder for
CfnIdNamespace.RuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.matchingKeys(List<String> matchingKeys) Sets the value ofCfnIdNamespace.RuleProperty.getMatchingKeys()Sets the value ofCfnIdNamespace.RuleProperty.getRuleName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
matchingKeys
@Stability(Stable) public CfnIdNamespace.RuleProperty.Builder matchingKeys(List<String> matchingKeys) Sets the value ofCfnIdNamespace.RuleProperty.getMatchingKeys()- Parameters:
matchingKeys- A list ofMatchingKeys. This parameter is required. TheMatchingKeysmust have been defined in theSchemaMapping. Two records are considered to match according to this rule if all of theMatchingKeysmatch.- Returns:
this
-
ruleName
Sets the value ofCfnIdNamespace.RuleProperty.getRuleName()- Parameters:
ruleName- A name for the matching rule. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnIdNamespace.RuleProperty>- Returns:
- a new instance of
CfnIdNamespace.RuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-