Class NetworkWatcherPropertiesFormat

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

public final class NetworkWatcherPropertiesFormat extends Object implements com.azure.json.JsonSerializable<NetworkWatcherPropertiesFormat>
The network watcher properties.
  • Constructor Details

    • NetworkWatcherPropertiesFormat

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

    • provisioningState

      public ProvisioningState provisioningState()
      Get the provisioningState property: The provisioning state of the network watcher resource.
      Returns:
      the provisioningState value.
    • 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<NetworkWatcherPropertiesFormat>
      Throws:
      IOException
    • fromJson

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