Class ServiceTagInformationPropertiesFormat

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

public final class ServiceTagInformationPropertiesFormat extends Object implements com.azure.json.JsonSerializable<ServiceTagInformationPropertiesFormat>
Properties of the service tag information.
  • Constructor Details

    • ServiceTagInformationPropertiesFormat

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

    • changeNumber

      public String changeNumber()
      Get the changeNumber property: The iteration number of service tag.
      Returns:
      the changeNumber value.
    • region

      public String region()
      Get the region property: The region of service tag.
      Returns:
      the region value.
    • systemService

      public String systemService()
      Get the systemService property: The name of system service.
      Returns:
      the systemService value.
    • addressPrefixes

      public List<String> addressPrefixes()
      Get the addressPrefixes property: The list of IP address prefixes.
      Returns:
      the addressPrefixes value.
    • state

      public String state()
      Get the state property: The state of the service tag.
      Returns:
      the state 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<ServiceTagInformationPropertiesFormat>
      Throws:
      IOException
    • fromJson

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