Class PoolAssociationList

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

public final class PoolAssociationList extends Object implements com.azure.json.JsonSerializable<PoolAssociationList>
List of PoolAssociation.
  • Constructor Details

    • PoolAssociationList

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

    • value

      public List<PoolAssociationInner> value()
      Get the value property: The value property.
      Returns:
      the value value.
    • withValue

      public PoolAssociationList withValue(List<PoolAssociationInner> value)
      Set the value property: The value property.
      Parameters:
      value - the value value to set.
      Returns:
      the PoolAssociationList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The link used to get the next page of operations.
      Returns:
      the nextLink value.
    • withNextLink

      public PoolAssociationList withNextLink(String nextLink)
      Set the nextLink property: The link used to get the next page of operations.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the PoolAssociationList 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<PoolAssociationList>
      Throws:
      IOException
    • fromJson

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