TrafficFlow Class

  • java.lang.Object
    • com.microsoft.azure.management.trafficmanager.TrafficFlow

public class TrafficFlow

Class representing a Traffic Manager HeatMap traffic flow properties.

Constructor Summary

Constructor Description
TrafficFlow()

Method Summary

Modifier and Type Method and Description
java.lang.Double latitude()

Get the approximate latitude that these queries originated from.

java.lang.Double longitude()

Get the approximate longitude that these queries originated from.

java.util.List<QueryExperience> queryExperiences()

Get the query experiences produced in this HeatMap calculation.

java.lang.String sourceIp()

Get the IP address that this query experience originated from.

TrafficFlow withLatitude(Double latitude)

Set the approximate latitude that these queries originated from.

TrafficFlow withLongitude(Double longitude)

Set the approximate longitude that these queries originated from.

TrafficFlow withQueryExperiences(List<QueryExperience> queryExperiences)

Set the query experiences produced in this HeatMap calculation.

TrafficFlow withSourceIp(String sourceIp)

Set the IP address that this query experience originated from.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

TrafficFlow

public TrafficFlow()

Method Details

latitude

public Double latitude()

Get the approximate latitude that these queries originated from.

Returns:

the latitude value

longitude

public Double longitude()

Get the approximate longitude that these queries originated from.

Returns:

the longitude value

queryExperiences

public List queryExperiences()

Get the query experiences produced in this HeatMap calculation.

Returns:

the queryExperiences value

sourceIp

public String sourceIp()

Get the IP address that this query experience originated from.

Returns:

the sourceIp value

withLatitude

public TrafficFlow withLatitude(Double latitude)

Set the approximate latitude that these queries originated from.

Parameters:

latitude - the latitude value to set

Returns:

the TrafficFlow object itself.

withLongitude

public TrafficFlow withLongitude(Double longitude)

Set the approximate longitude that these queries originated from.

Parameters:

longitude - the longitude value to set

Returns:

the TrafficFlow object itself.

withQueryExperiences

public TrafficFlow withQueryExperiences(List queryExperiences)

Set the query experiences produced in this HeatMap calculation.

Parameters:

queryExperiences - the queryExperiences value to set

Returns:

the TrafficFlow object itself.

withSourceIp

public TrafficFlow withSourceIp(String sourceIp)

Set the IP address that this query experience originated from.

Parameters:

sourceIp - the sourceIp value to set

Returns:

the TrafficFlow object itself.

Applies to