Class NspLinkListResult

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

public final class NspLinkListResult extends Object implements com.azure.json.JsonSerializable<NspLinkListResult>
Result of the request to list NSP link resources. Contains a list of NSP link resources and a URL link to get the next set of results.
  • Constructor Details

    • NspLinkListResult

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

    • value

      public List<NspLinkInner> value()
      Get the value property: Gets a page of NSP Link resources.
      Returns:
      the value value.
    • withValue

      public NspLinkListResult withValue(List<NspLinkInner> value)
      Set the value property: Gets a page of NSP Link resources.
      Parameters:
      value - the value value to set.
      Returns:
      the NspLinkListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: Gets the URL to get the next page of results.
      Returns:
      the nextLink value.
    • withNextLink

      public NspLinkListResult withNextLink(String nextLink)
      Set the nextLink property: Gets the URL to get the next page of results.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the NspLinkListResult 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<NspLinkListResult>
      Throws:
      IOException
    • fromJson

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