Class UpdateFirewallRuleProperties
java.lang.Object
com.azure.resourcemanager.datalakeanalytics.fluent.models.UpdateFirewallRuleProperties
The firewall rule properties to use when updating a firewall rule.
-
Constructor Summary
ConstructorDescriptionCreates an instance of UpdateFirewallRuleProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the endIpAddress property: The end IP address for the firewall rule.Get the startIpAddress property: The start IP address for the firewall rule.void
validate()
Validates the instance.withEndIpAddress
(String endIpAddress) Set the endIpAddress property: The end IP address for the firewall rule.withStartIpAddress
(String startIpAddress) Set the startIpAddress property: The start IP address for the firewall rule.
-
Constructor Details
-
UpdateFirewallRuleProperties
public UpdateFirewallRuleProperties()Creates an instance of UpdateFirewallRuleProperties class.
-
-
Method Details
-
startIpAddress
Get the startIpAddress property: The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.- Returns:
- the startIpAddress value.
-
withStartIpAddress
Set the startIpAddress property: The start IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.- Parameters:
startIpAddress
- the startIpAddress value to set.- Returns:
- the UpdateFirewallRuleProperties object itself.
-
endIpAddress
Get the endIpAddress property: The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.- Returns:
- the endIpAddress value.
-
withEndIpAddress
Set the endIpAddress property: The end IP address for the firewall rule. This can be either ipv4 or ipv6. Start and End should be in the same protocol.- Parameters:
endIpAddress
- the endIpAddress value to set.- Returns:
- the UpdateFirewallRuleProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-