Class TrafficFlow


  • public final class TrafficFlow
    extends Object
    Class representing a Traffic Manager HeatMap traffic flow properties.
    • Constructor Detail

      • TrafficFlow

        public TrafficFlow()
    • Method Detail

      • sourceIp

        public String sourceIp()
        Get the sourceIp property: The IP address that this query experience originated from.
        Returns:
        the sourceIp value.
      • withSourceIp

        public TrafficFlow withSourceIp​(String sourceIp)
        Set the sourceIp property: The IP address that this query experience originated from.
        Parameters:
        sourceIp - the sourceIp value to set.
        Returns:
        the TrafficFlow object itself.
      • latitude

        public Double latitude()
        Get the latitude property: The approximate latitude that these queries originated from.
        Returns:
        the latitude value.
      • withLatitude

        public TrafficFlow withLatitude​(Double latitude)
        Set the latitude property: The approximate latitude that these queries originated from.
        Parameters:
        latitude - the latitude value to set.
        Returns:
        the TrafficFlow object itself.
      • longitude

        public Double longitude()
        Get the longitude property: The approximate longitude that these queries originated from.
        Returns:
        the longitude value.
      • withLongitude

        public TrafficFlow withLongitude​(Double longitude)
        Set the longitude property: The approximate longitude that these queries originated from.
        Parameters:
        longitude - the longitude value to set.
        Returns:
        the TrafficFlow object itself.
      • queryExperiences

        public List<QueryExperience> queryExperiences()
        Get the queryExperiences property: The query experiences produced in this HeatMap calculation.
        Returns:
        the queryExperiences value.
      • withQueryExperiences

        public TrafficFlow withQueryExperiences​(List<QueryExperience> queryExperiences)
        Set the queryExperiences property: The query experiences produced in this HeatMap calculation.
        Parameters:
        queryExperiences - the queryExperiences value to set.
        Returns:
        the TrafficFlow object itself.
      • validate

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