public static class NamePatternRule.Builder extends Object
Constructor and Description |
---|
Builder() |
public NamePatternRule.Builder key(String key)
public NamePatternRule.Builder modelVersion(String modelVersion)
public NamePatternRule.Builder parentRef(ParentReference parentRef)
public NamePatternRule.Builder isJavaRegexSyntax(Boolean isJavaRegexSyntax)
public NamePatternRule.Builder configValues(ConfigValues configValues)
public NamePatternRule.Builder objectStatus(Integer objectStatus)
public NamePatternRule.Builder description(String description)
public NamePatternRule.Builder isSkipRemainingRulesOnMatch(Boolean isSkipRemainingRulesOnMatch)
Specifies whether to skip remaining rules when a match is found.
isSkipRemainingRulesOnMatch
- the value to setpublic NamePatternRule.Builder scope(Object scope)
Reference to a typed object. This can be either a key value to an object within the
document, a shall referenced to a TypedObject
, or a full TypedObject
definition.
scope
- the value to setpublic NamePatternRule.Builder isCascade(Boolean isCascade)
Specifies whether to cascade or not.
isCascade
- the value to setpublic NamePatternRule.Builder matchingStrategy(NamePatternRule.MatchingStrategy matchingStrategy)
The pattern matching strategy.
matchingStrategy
- the value to setpublic NamePatternRule.Builder isCaseSensitive(Boolean isCaseSensitive)
Specifies if the rule is case sensitive.
isCaseSensitive
- the value to setpublic NamePatternRule.Builder ruleType(NamePatternRule.RuleType ruleType)
The rule type.
ruleType
- the value to setpublic NamePatternRule.Builder pattern(String pattern)
The rule pattern.
pattern
- the value to setpublic NamePatternRule build()
public NamePatternRule.Builder copy(NamePatternRule model)
Copyright © 2016–2024. All rights reserved.