Class ResourceList
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ResourceList
- Direct Known Subclasses:
BackupEngineBaseResourceList
,JobResourceList
,ProtectableContainerResourceList
,ProtectedItemResourceList
,ProtectionContainerResourceList
,ProtectionIntentResourceList
,ProtectionPolicyResourceList
,RecoveryPointResourceList
,ResourceGuardProxyBaseResourceList
,WorkloadItemResourceList
,WorkloadProtectableItemResourceList
Base for all lists of resources.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnextLink()
Get the nextLink property: The uri to fetch the next page of resources.void
validate()
Validates the instance.withNextLink
(String nextLink) Set the nextLink property: The uri to fetch the next page of resources.
-
Constructor Details
-
ResourceList
public ResourceList()Creates an instance of ResourceList class.
-
-
Method Details
-
nextLink
Get the nextLink property: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.- Returns:
- the nextLink value.
-
withNextLink
Set the nextLink property: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the ResourceList object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-