Class TrafficFlow
java.lang.Object
com.azure.resourcemanager.trafficmanager.models.TrafficFlow
Class representing a Traffic Manager HeatMap traffic flow properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlatitude()Get the latitude property: The approximate latitude that these queries originated from.Get the longitude property: The approximate longitude that these queries originated from.Get the queryExperiences property: The query experiences produced in this HeatMap calculation.sourceIp()Get the sourceIp property: The IP address that this query experience originated from.voidvalidate()Validates the instance.withLatitude(Double latitude) Set the latitude property: The approximate latitude that these queries originated from.withLongitude(Double longitude) Set the longitude property: The approximate longitude that these queries originated from.withQueryExperiences(List<QueryExperience> queryExperiences) Set the queryExperiences property: The query experiences produced in this HeatMap calculation.withSourceIp(String sourceIp) Set the sourceIp property: The IP address that this query experience originated from.
-
Constructor Details
-
TrafficFlow
public TrafficFlow()
-
-
Method Details
-
sourceIp
Get the sourceIp property: The IP address that this query experience originated from.- Returns:
- the sourceIp value.
-
withSourceIp
Set the sourceIp property: The IP address that this query experience originated from.- Parameters:
sourceIp- the sourceIp value to set.- Returns:
- the TrafficFlow object itself.
-
latitude
Get the latitude property: The approximate latitude that these queries originated from.- Returns:
- the latitude value.
-
withLatitude
Set the latitude property: The approximate latitude that these queries originated from.- Parameters:
latitude- the latitude value to set.- Returns:
- the TrafficFlow object itself.
-
longitude
Get the longitude property: The approximate longitude that these queries originated from.- Returns:
- the longitude value.
-
withLongitude
Set the longitude property: The approximate longitude that these queries originated from.- Parameters:
longitude- the longitude value to set.- Returns:
- the TrafficFlow object itself.
-
queryExperiences
Get the queryExperiences property: The query experiences produced in this HeatMap calculation.- Returns:
- the queryExperiences value.
-
withQueryExperiences
Set the queryExperiences property: The query experiences produced in this HeatMap calculation.- Parameters:
queryExperiences- the queryExperiences value to set.- Returns:
- the TrafficFlow object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-