public static class AdvisorRule.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
AdvisorRule |
build() |
AdvisorRule.Builder |
copy(AdvisorRule model) |
AdvisorRule.Builder |
description(String description)
The description of the rule.
|
AdvisorRule.Builder |
findings(List<RuleFinding> findings)
The list of findings for the rule.
|
AdvisorRule.Builder |
name(String name)
The name of the rule.
|
public AdvisorRule.Builder name(String name)
The name of the rule.
name
- the value to setpublic AdvisorRule.Builder description(String description)
The description of the rule.
description
- the value to setpublic AdvisorRule.Builder findings(List<RuleFinding> findings)
The list of findings for the rule.
findings
- the value to setpublic AdvisorRule build()
public AdvisorRule.Builder copy(AdvisorRule model)
Copyright © 2016–2024. All rights reserved.