Class TrafficAnalyticsProperties

java.lang.Object
com.azure.resourcemanager.network.models.TrafficAnalyticsProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<TrafficAnalyticsProperties>

public final class TrafficAnalyticsProperties extends Object implements com.azure.json.JsonSerializable<TrafficAnalyticsProperties>
Parameters that define the configuration of traffic analytics.
  • Constructor Details

    • TrafficAnalyticsProperties

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

    • networkWatcherFlowAnalyticsConfiguration

      public TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration()
      Get the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.
      Returns:
      the networkWatcherFlowAnalyticsConfiguration value.
    • withNetworkWatcherFlowAnalyticsConfiguration

      public TrafficAnalyticsProperties withNetworkWatcherFlowAnalyticsConfiguration(TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration)
      Set the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.
      Parameters:
      networkWatcherFlowAnalyticsConfiguration - the networkWatcherFlowAnalyticsConfiguration value to set.
      Returns:
      the TrafficAnalyticsProperties 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<TrafficAnalyticsProperties>
      Throws:
      IOException
    • fromJson

      public static TrafficAnalyticsProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of TrafficAnalyticsProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of TrafficAnalyticsProperties 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 TrafficAnalyticsProperties.