Class NspServiceTagsResourceInner

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

public final class NspServiceTagsResourceInner extends Object implements com.azure.json.JsonSerializable<NspServiceTagsResourceInner>
Resource containing list of NSP service tags.
  • Constructor Details

    • NspServiceTagsResourceInner

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

    • serviceTags

      public List<String> serviceTags()
      Get the serviceTags property: NSP service tags.
      Returns:
      the serviceTags value.
    • withServiceTags

      public NspServiceTagsResourceInner withServiceTags(List<String> serviceTags)
      Set the serviceTags property: NSP service tags.
      Parameters:
      serviceTags - the serviceTags value to set.
      Returns:
      the NspServiceTagsResourceInner 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<NspServiceTagsResourceInner>
      Throws:
      IOException
    • fromJson

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