Class AzureFirewallApplicationRuleProtocol


  • public final class AzureFirewallApplicationRuleProtocol
    extends Object
    Properties of the application rule protocol.
    • Constructor Detail

      • AzureFirewallApplicationRuleProtocol

        public AzureFirewallApplicationRuleProtocol()
    • Method Detail

      • port

        public Integer port()
        Get the port property: Port number for the protocol, cannot be greater than 64000. This field is optional.
        Returns:
        the port value.
      • withPort

        public AzureFirewallApplicationRuleProtocol withPort​(Integer port)
        Set the port property: Port number for the protocol, cannot be greater than 64000. This field is optional.
        Parameters:
        port - the port value to set.
        Returns:
        the AzureFirewallApplicationRuleProtocol object itself.
      • validate

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