Package com.oracle.bmc.waas.model
Class Recommendation.Builder
- java.lang.Object
- 
- com.oracle.bmc.waas.model.Recommendation.Builder
 
- 
- Enclosing class:
- Recommendation
 
 public static class Recommendation.Builder extends Object 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Recommendationbuild()Recommendation.Buildercopy(Recommendation model)Recommendation.Builderdescription(String description)The description of the recommended protection rule.Recommendation.Builderkey(String key)The unique key for the recommended protection rule.Recommendation.Builderlabels(List<String> labels)The list of labels for the recommended protection rule.Recommendation.BuildermodSecurityRuleIds(List<String> modSecurityRuleIds)The list of the ModSecurity rule IDs associated with the protection rule.Recommendation.Buildername(String name)The name of the recommended protection rule.Recommendation.BuilderrecommendedAction(String recommendedAction)The recommended action to apply to the protection rule.
 
- 
- 
- 
Method Detail- 
keypublic Recommendation.Builder key(String key) The unique key for the recommended protection rule.- Parameters:
- key- the value to set
- Returns:
- this builder
 
 - 
modSecurityRuleIdspublic 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. - Parameters:
- modSecurityRuleIds- the value to set
- Returns:
- this builder
 
 - 
namepublic Recommendation.Builder name(String name) The name of the recommended protection rule.- Parameters:
- name- the value to set
- Returns:
- this builder
 
 - 
descriptionpublic Recommendation.Builder description(String description) The description of the recommended protection rule.- Parameters:
- description- the value to set
- Returns:
- this builder
 
 - 
labelspublic Recommendation.Builder labels(List<String> labels) The list of labels for the recommended protection rule.- Parameters:
- labels- the value to set
- Returns:
- this builder
 
 - 
recommendedActionpublic Recommendation.Builder recommendedAction(String recommendedAction) The recommended action to apply to the protection rule.- Parameters:
- recommendedAction- the value to set
- Returns:
- this builder
 
 - 
buildpublic Recommendation build() 
 - 
copypublic Recommendation.Builder copy(Recommendation model) 
 
- 
 
-