Class TrafficFlow
- java.lang.Object
-
- com.azure.resourcemanager.trafficmanager.models.TrafficFlow
-
public final class TrafficFlow extends Object
Class representing a Traffic Manager HeatMap traffic flow properties.
-
-
Constructor Summary
Constructors Constructor Description TrafficFlow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Doublelatitude()Get the latitude property: The approximate latitude that these queries originated from.Doublelongitude()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.StringsourceIp()Get the sourceIp property: The IP address that this query experience originated from.voidvalidate()Validates the instance.TrafficFlowwithLatitude(Double latitude)Set the latitude property: The approximate latitude that these queries originated from.TrafficFlowwithLongitude(Double longitude)Set the longitude property: The approximate longitude that these queries originated from.TrafficFlowwithQueryExperiences(List<QueryExperience> queryExperiences)Set the queryExperiences property: The query experiences produced in this HeatMap calculation.TrafficFlowwithSourceIp(String sourceIp)Set the sourceIp property: The IP address that this query experience originated from.
-
-
-
Method Detail
-
sourceIp
public String sourceIp()
Get the sourceIp property: The IP address that this query experience originated from.- Returns:
- the sourceIp value.
-
withSourceIp
public TrafficFlow withSourceIp(String sourceIp)
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
public Double latitude()
Get the latitude property: The approximate latitude that these queries originated from.- Returns:
- the latitude value.
-
withLatitude
public TrafficFlow withLatitude(Double latitude)
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
public Double longitude()
Get the longitude property: The approximate longitude that these queries originated from.- Returns:
- the longitude value.
-
withLongitude
public TrafficFlow withLongitude(Double longitude)
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
public List<QueryExperience> queryExperiences()
Get the queryExperiences property: The query experiences produced in this HeatMap calculation.- Returns:
- the queryExperiences value.
-
withQueryExperiences
public TrafficFlow withQueryExperiences(List<QueryExperience> queryExperiences)
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.
-
-