public final class FirewallRuleProperties extends Object
| Constructor and Description |
|---|
FirewallRuleProperties() |
| Modifier and Type | Method and Description |
|---|---|
String |
endIpAddress()
Get the endIpAddress property: The end IP address of the server firewall rule.
|
String |
startIpAddress()
Get the startIpAddress property: The start IP address of the server firewall rule.
|
void |
validate()
Validates the instance.
|
FirewallRuleProperties |
withEndIpAddress(String endIpAddress)
Set the endIpAddress property: The end IP address of the server firewall rule.
|
FirewallRuleProperties |
withStartIpAddress(String startIpAddress)
Set the startIpAddress property: The start IP address of the server firewall rule.
|
public String startIpAddress()
public FirewallRuleProperties withStartIpAddress(String startIpAddress)
startIpAddress - the startIpAddress value to set.public String endIpAddress()
public FirewallRuleProperties withEndIpAddress(String endIpAddress)
endIpAddress - the endIpAddress value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.