TrafficFlow Class
- java.
lang. Object - com.
azure. resourcemanager. trafficmanager. models. TrafficFlow
- com.
Implements
public final class TrafficFlow
implements JsonSerializable<TrafficFlow>
Class representing a Traffic Manager HeatMap traffic flow properties.
Constructor Summary
Constructor | Description |
---|---|
TrafficFlow() |
Creates an instance of Traffic |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Traffic |
fromJson(JsonReader jsonReader)
Reads an instance of Traffic |
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<Query |
queryExperiences()
Get the query |
String |
sourceIp()
Get the source |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Traffic |
withLatitude(Double latitude)
Set the latitude property: The approximate latitude that these queries originated from. |
Traffic |
withLongitude(Double longitude)
Set the longitude property: The approximate longitude that these queries originated from. |
Traffic |
withQueryExperiences(List<QueryExperience> queryExperiences)
Set the query |
Traffic |
withSourceIp(String sourceIp)
Set the source |
Methods inherited from java.lang.Object
Constructor Details
TrafficFlow
public TrafficFlow()
Creates an instance of TrafficFlow class.
Method Details
fromJson
public static TrafficFlow fromJson(JsonReader jsonReader)
Reads an instance of TrafficFlow from the JsonReader.
Parameters:
Returns:
Throws:
latitude
public Double latitude()
Get the latitude property: The approximate latitude that these queries originated from.
Returns:
longitude
public Double longitude()
Get the longitude property: The approximate longitude that these queries originated from.
Returns:
queryExperiences
public List
Get the queryExperiences property: The query experiences produced in this HeatMap calculation.
Returns:
sourceIp
public String sourceIp()
Get the sourceIp property: The IP address that this query experience originated from.
Returns:
toJson
validate
public void validate()
Validates the instance.
withLatitude
public TrafficFlow withLatitude(Double latitude)
Set the latitude property: The approximate latitude that these queries originated from.
Parameters:
Returns:
withLongitude
public TrafficFlow withLongitude(Double longitude)
Set the longitude property: The approximate longitude that these queries originated from.
Parameters:
Returns:
withQueryExperiences
public TrafficFlow withQueryExperiences(List
Set the queryExperiences property: The query experiences produced in this HeatMap calculation.
Parameters:
Returns:
withSourceIp
public TrafficFlow withSourceIp(String sourceIp)
Set the sourceIp property: The IP address that this query experience originated from.
Parameters:
Returns:
Applies to
Azure SDK for Java