Class RequiredTraffic


  • public final class RequiredTraffic
    extends Object
    Required inbound or outbound traffic for Azure Spring Cloud instance.
    • Constructor Detail

      • RequiredTraffic

        public RequiredTraffic()
    • Method Detail

      • protocol

        public String protocol()
        Get the protocol property: The protocol of required traffic.
        Returns:
        the protocol value.
      • port

        public Integer port()
        Get the port property: The port of required traffic.
        Returns:
        the port value.
      • ips

        public List<String> ips()
        Get the ips property: The ip list of required traffic.
        Returns:
        the ips value.
      • fqdns

        public List<String> fqdns()
        Get the fqdns property: The FQDN list of required traffic.
        Returns:
        the fqdns value.
      • direction

        public TrafficDirection direction()
        Get the direction property: The direction of required traffic.
        Returns:
        the direction value.
      • validate

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