public static final class ALBHTTPSecurityRule.Builder
extends java.lang.Object
ALBHTTPSecurityRule.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBHTTPSecurityRule. |
| Modifier and Type | Method and Description |
|---|---|
ALBHTTPSecurityRule |
build() |
ALBHTTPSecurityRule.Builder |
setAction(ALBHTTPSecurityAction action) |
ALBHTTPSecurityRule.Builder |
setEnable(java.lang.Boolean enable)
Enable or disable the rule.
|
ALBHTTPSecurityRule.Builder |
setIndex(java.lang.Long index)
Index of the rule.
|
ALBHTTPSecurityRule.Builder |
setLog(java.lang.Boolean log)
Log HTTP request upon rule match.
|
ALBHTTPSecurityRule.Builder |
setMatch(ALBMatchTarget match) |
ALBHTTPSecurityRule.Builder |
setName(java.lang.String name)
Name of the rule.
|
public Builder()
ALBHTTPSecurityRule.public ALBHTTPSecurityRule.Builder setAction(ALBHTTPSecurityAction action)
action - New value for the property.public ALBHTTPSecurityRule.Builder setEnable(java.lang.Boolean enable)
enable - New value for the property.public ALBHTTPSecurityRule.Builder setIndex(java.lang.Long index)
index - New value for the property.public ALBHTTPSecurityRule.Builder setLog(java.lang.Boolean log)
log - New value for the property.public ALBHTTPSecurityRule.Builder setMatch(ALBMatchTarget match)
match - New value for the property.public ALBHTTPSecurityRule.Builder setName(java.lang.String name)
name - New value for the property.public ALBHTTPSecurityRule build()