public static class ProtectionRule.Builder extends Object
Modifier and Type | Method and Description |
---|---|
ProtectionRule.Builder |
action(ProtectionRule.Action action) |
ProtectionRule |
build() |
ProtectionRule.Builder |
copy(ProtectionRule o) |
ProtectionRule.Builder |
description(String description) |
ProtectionRule.Builder |
exclusions(List<ProtectionRuleExclusion> exclusions) |
ProtectionRule.Builder |
key(String key) |
ProtectionRule.Builder |
labels(List<String> labels) |
ProtectionRule.Builder |
modSecurityRuleIds(List<String> modSecurityRuleIds) |
ProtectionRule.Builder |
name(String name) |
String |
toString() |
public ProtectionRule.Builder key(String key)
public ProtectionRule.Builder modSecurityRuleIds(List<String> modSecurityRuleIds)
public ProtectionRule.Builder name(String name)
public ProtectionRule.Builder description(String description)
public ProtectionRule.Builder action(ProtectionRule.Action action)
public ProtectionRule.Builder labels(List<String> labels)
public ProtectionRule.Builder exclusions(List<ProtectionRuleExclusion> exclusions)
public ProtectionRule build()
public ProtectionRule.Builder copy(ProtectionRule o)
Copyright © 2016–2021. All rights reserved.