Class ServiceTagInformationInner

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

public final class ServiceTagInformationInner extends Object implements com.azure.json.JsonSerializable<ServiceTagInformationInner>
The service tag information.
  • Constructor Details

    • ServiceTagInformationInner

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

    • properties

      Get the properties property: Properties of the service tag information.
      Returns:
      the properties value.
    • name

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

      public String id()
      Get the id property: The ID of service tag.
      Returns:
      the id value.
    • serviceTagChangeNumber

      public String serviceTagChangeNumber()
      Get the serviceTagChangeNumber property: The iteration number of service tag object for region.
      Returns:
      the serviceTagChangeNumber 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<ServiceTagInformationInner>
      Throws:
      IOException
    • fromJson

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