QueryExperience Class
- java.
lang. Object - com.
azure. resourcemanager. trafficmanager. models. QueryExperience
- com.
Implements
public final class QueryExperience
implements JsonSerializable<QueryExperience>
Class representing a Traffic Manager HeatMap query experience properties.
Constructor Summary
Constructor | Description |
---|---|
QueryExperience() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
int |
endpointId()
Get the endpoint |
static
Query |
fromJson(JsonReader jsonReader)
Reads an instance of Query |
Double |
latency()
Get the latency property: The latency experienced by queries originating from this location. |
int |
queryCount()
Get the query |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Query |
withEndpointId(int endpointId)
Set the endpoint |
Query |
withLatency(Double latency)
Set the latency property: The latency experienced by queries originating from this location. |
Query |
withQueryCount(int queryCount)
Set the query |
Methods inherited from java.lang.Object
Constructor Details
QueryExperience
public QueryExperience()
Creates an instance of QueryExperience class.
Method Details
endpointId
public int endpointId()
Get the endpointId property: The id of the endpoint from the 'endpoints' array which these queries were routed to.
Returns:
fromJson
public static QueryExperience fromJson(JsonReader jsonReader)
Reads an instance of QueryExperience from the JsonReader.
Parameters:
Returns:
Throws:
latency
public Double latency()
Get the latency property: The latency experienced by queries originating from this location.
Returns:
queryCount
public int queryCount()
Get the queryCount property: The number of queries originating from this location.
Returns:
toJson
validate
public void validate()
Validates the instance.
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:
Returns:
withLatency
public QueryExperience withLatency(Double latency)
Set the latency property: The latency experienced by queries originating from this location.
Parameters:
Returns:
withQueryCount
public QueryExperience withQueryCount(int queryCount)
Set the queryCount property: The number of queries originating from this location.
Parameters:
Returns:
Applies to
Azure SDK for Java