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 -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourceUriListfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of ResourceUriList from the JsonReader.nextLink()Get the nextLink property: The uri to fetch the next page of encrypted resources.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) voidvalidate()Validates the instance.value()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 Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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
-
withValue
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
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
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
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<ResourceUriList>- Throws:
IOException
-
fromJson
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.
-