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 Summary
ConstructorsConstructorDescriptionCreates an instance of TrafficAnalyticsProperties class. -
Method Summary
Modifier and TypeMethodDescriptionstatic TrafficAnalyticsPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of TrafficAnalyticsProperties from the JsonReader.Get the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.withNetworkWatcherFlowAnalyticsConfiguration(TrafficAnalyticsConfigurationProperties networkWatcherFlowAnalyticsConfiguration) Set the networkWatcherFlowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.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
-
TrafficAnalyticsProperties
public TrafficAnalyticsProperties()Creates an instance of TrafficAnalyticsProperties class.
-
-
Method Details
-
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
- Specified by:
toJsonin interfacecom.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.
-