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 Details

    • HeatMapProperties

      public HeatMapProperties()
      Creates an instance of HeatMapProperties class.
  • Method Details

    • startTime

      public OffsetDateTime startTime()
      Get the startTime property: The beginning of the time window for this HeatMap, inclusive.
      Returns:
      the startTime value.
    • withStartTime

      public HeatMapProperties withStartTime(OffsetDateTime startTime)
      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

      public OffsetDateTime endTime()
      Get the endTime property: The ending of the time window for this HeatMap, exclusive.
      Returns:
      the endTime value.
    • withEndTime

      public HeatMapProperties withEndTime(OffsetDateTime endTime)
      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

      public List<HeatMapEndpoint> endpoints()
      Get the endpoints property: The endpoints used in this HeatMap calculation.
      Returns:
      the endpoints value.
    • withEndpoints

      public HeatMapProperties withEndpoints(List<HeatMapEndpoint> endpoints)
      Set the endpoints property: The endpoints used in this HeatMap calculation.
      Parameters:
      endpoints - the endpoints value to set.
      Returns:
      the HeatMapProperties object itself.
    • trafficFlows

      public List<TrafficFlow> trafficFlows()
      Get the trafficFlows property: The traffic flows produced in this HeatMap calculation.
      Returns:
      the trafficFlows value.
    • withTrafficFlows

      public HeatMapProperties withTrafficFlows(List<TrafficFlow> trafficFlows)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<HeatMapProperties>
      Throws:
      IOException
    • fromJson

      public static HeatMapProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.