public final class RedisFirewallRuleCreateParameters extends RedisFirewallRuleInner
| Constructor and Description |
|---|
RedisFirewallRuleCreateParameters() |
| Modifier and Type | Method and Description |
|---|---|
void |
validate()
Validates the instance.
|
RedisFirewallRuleCreateParameters |
withEndIp(String endIp)
Set the endIp property: highest IP address included in the range.
|
RedisFirewallRuleCreateParameters |
withStartIp(String startIp)
Set the startIp property: lowest IP address included in the range.
|
endIp, startIppublic RedisFirewallRuleCreateParameters withStartIp(String startIp)
withStartIp in class RedisFirewallRuleInnerstartIp - the startIp value to set.public RedisFirewallRuleCreateParameters withEndIp(String endIp)
withEndIp in class RedisFirewallRuleInnerendIp - the endIp value to set.public void validate()
validate in class RedisFirewallRuleInnerIllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.