Class FirewallPolicyRuleApplicationProtocol


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

      • FirewallPolicyRuleApplicationProtocol

        public FirewallPolicyRuleApplicationProtocol()
    • Method Detail

      • port

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

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

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