Class ResourceUriList

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

public final class ResourceUriList extends Object implements com.azure.json.JsonSerializable<ResourceUriList>
The List resources which are encrypted with the disk encryption set.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of ResourceUriList class.
  • Method Summary

    Modifier and Type
    Method
    Description
    fromJson(com.azure.json.JsonReader jsonReader)
    Reads an instance of ResourceUriList from the JsonReader.
    Get the nextLink property: The uri to fetch the next page of encrypted resources.
    com.azure.json.JsonWriter
    toJson(com.azure.json.JsonWriter jsonWriter)
    void
    Validates the instance.
    Get the value property: A list of IDs or Owner IDs of resources which are encrypted with the disk encryption set.
    withNextLink(String nextLink)
    Set the nextLink property: The uri to fetch the next page of encrypted resources.
    Set the value property: A list of IDs or Owner IDs of resources which are encrypted with the disk encryption set.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.azure.json.JsonSerializable

    toJson, toJson, toJsonBytes, toJsonString
  • Constructor Details

    • ResourceUriList

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

    • value

      public List<String> value()
      Get the value property: A list of IDs or Owner IDs of resources which are encrypted with the disk encryption set.
      Returns:
      the value value.
    • withValue

      public ResourceUriList withValue(List<String> value)
      Set the value property: A list of IDs or Owner IDs of resources which are encrypted with the disk encryption set.
      Parameters:
      value - the value value to set.
      Returns:
      the ResourceUriList object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the next page of encrypted resources.
      Returns:
      the nextLink value.
    • withNextLink

      public ResourceUriList withNextLink(String nextLink)
      Set the nextLink property: The uri to fetch the next page of encrypted resources. Call ListNext() with this to fetch the next page of encrypted resources.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the ResourceUriList 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<ResourceUriList>
      Throws:
      IOException
    • fromJson

      public static ResourceUriList fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of ResourceUriList from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of ResourceUriList if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the ResourceUriList.