public static class Recommendation.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
Recommendation |
build() |
Recommendation.Builder |
copy(Recommendation model) |
Recommendation.Builder |
description(String description)
The description of the recommended protection rule.
|
Recommendation.Builder |
key(String key)
The unique key for the recommended protection rule.
|
Recommendation.Builder |
labels(List<String> labels)
The list of labels for the recommended protection rule.
|
Recommendation.Builder |
modSecurityRuleIds(List<String> modSecurityRuleIds)
The list of the ModSecurity rule IDs associated with the protection rule.
|
Recommendation.Builder |
name(String name)
The name of the recommended protection rule.
|
Recommendation.Builder |
recommendedAction(String recommendedAction)
The recommended action to apply to the protection rule.
|
public Recommendation.Builder key(String key)
The unique key for the recommended protection rule.
key
- the value to setpublic Recommendation.Builder modSecurityRuleIds(List<String> modSecurityRuleIds)
The list of the ModSecurity rule IDs associated with the protection rule. For more information about ModSecurity’s open source WAF rules, see Mod Security’s documentation.
modSecurityRuleIds
- the value to setpublic Recommendation.Builder name(String name)
The name of the recommended protection rule.
name
- the value to setpublic Recommendation.Builder description(String description)
The description of the recommended protection rule.
description
- the value to setpublic Recommendation.Builder labels(List<String> labels)
The list of labels for the recommended protection rule.
labels
- the value to setpublic Recommendation.Builder recommendedAction(String recommendedAction)
The recommended action to apply to the protection rule.
recommendedAction
- the value to setpublic Recommendation build()
public Recommendation.Builder copy(Recommendation model)
Copyright © 2016–2024. All rights reserved.