Class ContainerRegistryResourceCollection

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

public final class ContainerRegistryResourceCollection extends Object implements com.azure.json.JsonSerializable<ContainerRegistryResourceCollection>
Collection compose of container registry resources list and a possible link for next page.
  • Constructor Details

    • ContainerRegistryResourceCollection

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

    • value

      Get the value property: The container registry resources list.
      Returns:
      the value value.
    • withValue

      Set the value property: The container registry resources list.
      Parameters:
      value - the value value to set.
      Returns:
      the ContainerRegistryResourceCollection object itself.
    • nextLink

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

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

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