Class IpFirewallRuleProperties


  • public final class IpFirewallRuleProperties
    extends Object
    IP firewall rule properties.
    • Constructor Detail

      • IpFirewallRuleProperties

        public IpFirewallRuleProperties()
    • Method Detail

      • endIpAddress

        public String endIpAddress()
        Get the endIpAddress property: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress.
        Returns:
        the endIpAddress value.
      • withEndIpAddress

        public IpFirewallRuleProperties withEndIpAddress​(String endIpAddress)
        Set the endIpAddress property: The end IP address of the firewall rule. Must be IPv4 format. Must be greater than or equal to startIpAddress.
        Parameters:
        endIpAddress - the endIpAddress value to set.
        Returns:
        the IpFirewallRuleProperties object itself.
      • provisioningState

        public ProvisioningState provisioningState()
        Get the provisioningState property: Resource provisioning state.
        Returns:
        the provisioningState value.
      • startIpAddress

        public String startIpAddress()
        Get the startIpAddress property: The start IP address of the firewall rule. Must be IPv4 format.
        Returns:
        the startIpAddress value.
      • withStartIpAddress

        public IpFirewallRuleProperties withStartIpAddress​(String startIpAddress)
        Set the startIpAddress property: The start IP address of the firewall rule. Must be IPv4 format.
        Parameters:
        startIpAddress - the startIpAddress value to set.
        Returns:
        the IpFirewallRuleProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.