QueryExperience Class

  • java.lang.Object
    • com.microsoft.azure.management.trafficmanager.QueryExperience

public class QueryExperience

Class representing a Traffic Manager HeatMap query experience properties.

Constructor Summary

Constructor Description
QueryExperience()

Method Summary

Modifier and Type Method and Description
int endpointId()

Get the id of the endpoint from the 'endpoints' array which these queries were routed to.

java.lang.Double latency()

Get the latency experienced by queries originating from this location.

int queryCount()

Get the number of queries originating from this location.

QueryExperience withEndpointId(int endpointId)

Set the id of the endpoint from the 'endpoints' array which these queries were routed to.

QueryExperience withLatency(Double latency)

Set the latency experienced by queries originating from this location.

QueryExperience withQueryCount(int queryCount)

Set the number of queries originating from this location.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

QueryExperience

public QueryExperience()

Method Details

endpointId

public int endpointId()

Get the id of the endpoint from the 'endpoints' array which these queries were routed to.

Returns:

the endpointId value

latency

public Double latency()

Get the latency experienced by queries originating from this location.

Returns:

the latency value

queryCount

public int queryCount()

Get the number of queries originating from this location.

Returns:

the queryCount 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.

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.

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.

Applies to