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