public static final class ALBHTTPResponseRule.Builder
extends java.lang.Object
ALBHTTPResponseRule.| Constructor and Description |
|---|
Builder()
Constructor with parameters for the required properties of
ALBHTTPResponseRule. |
| Modifier and Type | Method and Description |
|---|---|
ALBHTTPResponseRule |
build() |
ALBHTTPResponseRule.Builder |
setAllHeaders(java.lang.Boolean allHeaders)
Log all HTTP headers upon rule match.
|
ALBHTTPResponseRule.Builder |
setEnable(java.lang.Boolean enable)
Enable or disable the rule.
|
ALBHTTPResponseRule.Builder |
setHdrAction(java.util.List<ALBHTTPHdrAction> hdrAction)
HTTP header rewrite action.
|
ALBHTTPResponseRule.Builder |
setIndex(java.lang.Long index)
Index of the rule.
|
ALBHTTPResponseRule.Builder |
setLocHdrAction(ALBHTTPRewriteLocHdrAction locHdrAction) |
ALBHTTPResponseRule.Builder |
setLog(java.lang.Boolean log)
Log HTTP request upon rule match.
|
ALBHTTPResponseRule.Builder |
setMatch(ALBResponseMatchTarget match) |
ALBHTTPResponseRule.Builder |
setName(java.lang.String name)
Name of the rule.
|
public Builder()
ALBHTTPResponseRule.public ALBHTTPResponseRule.Builder setAllHeaders(java.lang.Boolean allHeaders)
allHeaders - New value for the property.public ALBHTTPResponseRule.Builder setEnable(java.lang.Boolean enable)
enable - New value for the property.public ALBHTTPResponseRule.Builder setHdrAction(java.util.List<ALBHTTPHdrAction> hdrAction)
hdrAction - New value for the property.public ALBHTTPResponseRule.Builder setIndex(java.lang.Long index)
index - New value for the property.public ALBHTTPResponseRule.Builder setLocHdrAction(ALBHTTPRewriteLocHdrAction locHdrAction)
locHdrAction - New value for the property.public ALBHTTPResponseRule.Builder setLog(java.lang.Boolean log)
log - New value for the property.public ALBHTTPResponseRule.Builder setMatch(ALBResponseMatchTarget match)
match - New value for the property.public ALBHTTPResponseRule.Builder setName(java.lang.String name)
name - New value for the property.public ALBHTTPResponseRule build()