Class QueryExperience
- java.lang.Object
-
- com.microsoft.azure.management.trafficmanager.QueryExperience
-
public class QueryExperience extends Object
Class representing a Traffic Manager HeatMap query experience properties.
-
-
Constructor Summary
Constructors Constructor Description QueryExperience()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intendpointId()Get the id of the endpoint from the 'endpoints' array which these queries were routed to.Doublelatency()Get the latency experienced by queries originating from this location.intqueryCount()Get the number of queries originating from this location.QueryExperiencewithEndpointId(int endpointId)Set the id of the endpoint from the 'endpoints' array which these queries were routed to.QueryExperiencewithLatency(Double latency)Set the latency experienced by queries originating from this location.QueryExperiencewithQueryCount(int queryCount)Set the number of queries originating from this location.
-
-
-
Method Detail
-
endpointId
public int endpointId()
Get 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 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 number of queries originating from this location.- Returns:
- the queryCount value
-
withQueryCount
public QueryExperience withQueryCount(int queryCount)
Set 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 experienced by queries originating from this location.- Returns:
- the latency value
-
withLatency
public QueryExperience withLatency(Double latency)
Set the latency experienced by queries originating from this location.- Parameters:
latency- the latency value to set- Returns:
- the QueryExperience object itself.
-
-