Class QueryExperience


  • public final class QueryExperience
    extends Object
    Class representing a Traffic Manager HeatMap query experience properties.
    • Constructor Detail

      • QueryExperience

        public QueryExperience()
    • Method Detail

      • endpointId

        public int endpointId()
        Get the endpointId property: The id of the endpoint from the 'endpoints' array which these queries were routed to.
        Returns:
        the endpointId value.
      • withEndpointId

        public QueryExperience withEndpointId​(int endpointId)
        Set the endpointId property: The id of the endpoint from the 'endpoints' array which these queries were routed to.
        Parameters:
        endpointId - the endpointId value to set.
        Returns:
        the QueryExperience object itself.
      • queryCount

        public int queryCount()
        Get the queryCount property: The number of queries originating from this location.
        Returns:
        the queryCount value.
      • withQueryCount

        public QueryExperience withQueryCount​(int queryCount)
        Set the queryCount property: The number of queries originating from this location.
        Parameters:
        queryCount - the queryCount value to set.
        Returns:
        the QueryExperience object itself.
      • latency

        public Double latency()
        Get the latency property: The latency experienced by queries originating from this location.
        Returns:
        the latency value.
      • withLatency

        public QueryExperience withLatency​(Double latency)
        Set the latency property: The latency experienced by queries originating from this location.
        Parameters:
        latency - the latency value to set.
        Returns:
        the QueryExperience object itself.
      • validate

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