TrafficFlow Class

  • java.lang.Object
    • com.azure.resourcemanager.trafficmanager.models.TrafficFlow

Implements

public final class TrafficFlow
implements JsonSerializable<TrafficFlow>

Class representing a Traffic Manager HeatMap traffic flow properties.

Method Summary

Modifier and Type Method and Description
static TrafficFlow fromJson(JsonReader jsonReader)

Reads an instance of TrafficFlow from the JsonReader.

Double latitude()

Get the latitude property: The approximate latitude that these queries originated from.

Double longitude()

Get the longitude property: The approximate longitude that these queries originated from.

List<QueryExperience> queryExperiences()

Get the queryExperiences property: The query experiences produced in this HeatMap calculation.

String sourceIp()

Get the sourceIp property: The IP address that this query experience originated from.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

fromJson

public static TrafficFlow fromJson(JsonReader jsonReader)

Reads an instance of TrafficFlow from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TrafficFlow if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TrafficFlow.

latitude

public Double latitude()

Get the latitude property: The approximate latitude that these queries originated from.

Returns:

the latitude value.

longitude

public Double longitude()

Get the longitude property: The approximate longitude that these queries originated from.

Returns:

the longitude value.

queryExperiences

public List<QueryExperience> queryExperiences()

Get the queryExperiences property: The query experiences produced in this HeatMap calculation.

Returns:

the queryExperiences value.

sourceIp

public String sourceIp()

Get the sourceIp property: The IP address that this query experience originated from.

Returns:

the sourceIp value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to