Interface Rule.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Rule.Builder,Rule>, SdkBuilder<Rule.Builder,Rule>, SdkPojo
Enclosing class:
Rule

@Mutable @NotThreadSafe public static interface Rule.Builder extends SdkPojo, CopyableBuilder<Rule.Builder,Rule>
  • Method Details

    • ruleName

      Rule.Builder ruleName(String ruleName)

      A name for the matching rule.

      Parameters:
      ruleName - A name for the matching rule.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchingKeys

      Rule.Builder matchingKeys(Collection<String> matchingKeys)

      A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.

      Parameters:
      matchingKeys - A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • matchingKeys

      Rule.Builder matchingKeys(String... matchingKeys)

      A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.

      Parameters:
      matchingKeys - A list of MatchingKeys. The MatchingKeys must have been defined in the SchemaMapping. Two records are considered to match according to this rule if all of the MatchingKeys match.
      Returns:
      Returns a reference to this object so that method calls can be chained together.