Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Violation |
build() |
Violation.Builder |
copy(Violation model) |
Violation.Builder |
indexes(List<Indexes> indexes)
The indices associated with regular expression violations.
|
Violation.Builder |
ruleDescription(String ruleDescription)
The rule description.
|
Violation.Builder |
ruleName(String ruleName)
The rule name.
|
Violation.Builder |
ruleRemediation(String ruleRemediation)
The rule remediation.
|
Violation.Builder |
ruleType(Violation.RuleType ruleType)
The rule type.
|
public Violation.Builder indexes(List<Indexes> indexes)
The indices associated with regular expression violations.
indexes
- the value to setpublic Violation.Builder ruleDescription(String ruleDescription)
The rule description.
ruleDescription
- the value to setpublic Violation.Builder ruleName(String ruleName)
The rule name.
ruleName
- the value to setpublic Violation.Builder ruleRemediation(String ruleRemediation)
The rule remediation.
ruleRemediation
- the value to setpublic Violation.Builder ruleType(Violation.RuleType ruleType)
The rule type. Either WARN or ERROR.
ruleType
- the value to setpublic Violation build()
public Violation.Builder copy(Violation model)
Copyright © 2016–2024. All rights reserved.