Class HeatMapProperties
java.lang.Object
com.azure.resourcemanager.trafficmanager.fluent.models.HeatMapProperties
- All Implemented Interfaces:
com.azure.json.JsonSerializable<HeatMapProperties>
public final class HeatMapProperties
extends Object
implements com.azure.json.JsonSerializable<HeatMapProperties>
Class representing a Traffic Manager HeatMap properties.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the endpoints property: The endpoints used in this HeatMap calculation.endTime()Get the endTime property: The ending of the time window for this HeatMap, exclusive.static HeatMapPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of HeatMapProperties from the JsonReader.Get the startTime property: The beginning of the time window for this HeatMap, inclusive.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Get the trafficFlows property: The traffic flows produced in this HeatMap calculation.voidvalidate()Validates the instance.withEndpoints(List<HeatMapEndpoint> endpoints) Set the endpoints property: The endpoints used in this HeatMap calculation.withEndTime(OffsetDateTime endTime) Set the endTime property: The ending of the time window for this HeatMap, exclusive.withStartTime(OffsetDateTime startTime) Set the startTime property: The beginning of the time window for this HeatMap, inclusive.withTrafficFlows(List<TrafficFlow> trafficFlows) Set the trafficFlows property: The traffic flows produced in this HeatMap calculation.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
HeatMapProperties
public HeatMapProperties()Creates an instance of HeatMapProperties class.
-
-
Method Details
-
startTime
Get the startTime property: The beginning of the time window for this HeatMap, inclusive.- Returns:
- the startTime value.
-
withStartTime
Set the startTime property: The beginning of the time window for this HeatMap, inclusive.- Parameters:
startTime- the startTime value to set.- Returns:
- the HeatMapProperties object itself.
-
endTime
Get the endTime property: The ending of the time window for this HeatMap, exclusive.- Returns:
- the endTime value.
-
withEndTime
Set the endTime property: The ending of the time window for this HeatMap, exclusive.- Parameters:
endTime- the endTime value to set.- Returns:
- the HeatMapProperties object itself.
-
endpoints
Get the endpoints property: The endpoints used in this HeatMap calculation.- Returns:
- the endpoints value.
-
withEndpoints
Set the endpoints property: The endpoints used in this HeatMap calculation.- Parameters:
endpoints- the endpoints value to set.- Returns:
- the HeatMapProperties object itself.
-
trafficFlows
Get the trafficFlows property: The traffic flows produced in this HeatMap calculation.- Returns:
- the trafficFlows value.
-
withTrafficFlows
Set the trafficFlows property: The traffic flows produced in this HeatMap calculation.- Parameters:
trafficFlows- the trafficFlows value to set.- Returns:
- the HeatMapProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<HeatMapProperties>- Throws:
IOException
-
fromJson
Reads an instance of HeatMapProperties from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of HeatMapProperties 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 HeatMapProperties.
-