public static class NameListRule.Builder extends Object
Constructor and Description |
---|
Builder() |
public NameListRule.Builder key(String key)
public NameListRule.Builder modelVersion(String modelVersion)
public NameListRule.Builder parentRef(ParentReference parentRef)
public NameListRule.Builder isJavaRegexSyntax(Boolean isJavaRegexSyntax)
public NameListRule.Builder configValues(ConfigValues configValues)
public NameListRule.Builder objectStatus(Integer objectStatus)
public NameListRule.Builder description(String description)
public NameListRule.Builder isSkipRemainingRulesOnMatch(Boolean isSkipRemainingRulesOnMatch)
Specifies whether to skip remaining rules when a match is found.
isSkipRemainingRulesOnMatch
- the value to setpublic NameListRule.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 NameListRule.Builder isCascade(Boolean isCascade)
Specifies whether to cascade or not.
isCascade
- the value to setpublic NameListRule.Builder matchingStrategy(NameListRule.MatchingStrategy matchingStrategy)
The pattern matching strategy.
matchingStrategy
- the value to setpublic NameListRule.Builder isCaseSensitive(Boolean isCaseSensitive)
Specifies if the rule is case sensitive.
isCaseSensitive
- the value to setpublic NameListRule.Builder ruleType(NameListRule.RuleType ruleType)
The rule type.
ruleType
- the value to setpublic NameListRule.Builder names(List<String> names)
Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
names
- the value to setpublic NameListRule build()
public NameListRule.Builder copy(NameListRule model)
Copyright © 2016–2024. All rights reserved.