Class WorkloadItemResourceList
java.lang.Object
com.azure.resourcemanager.recoveryservicesbackup.models.ResourceList
com.azure.resourcemanager.recoveryservicesbackup.models.WorkloadItemResourceList
List of WorkloadItem resources.
-
Constructor Summary
ConstructorDescriptionCreates an instance of WorkloadItemResourceList class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates the instance.value()
Get the value property: List of resources.withNextLink
(String nextLink) Set the nextLink property: The uri to fetch the next page of resources.withValue
(List<WorkloadItemResourceInner> value) Set the value property: List of resources.Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ResourceList
nextLink
-
Constructor Details
-
WorkloadItemResourceList
public WorkloadItemResourceList()Creates an instance of WorkloadItemResourceList class.
-
-
Method Details
-
value
Get the value property: List of resources.- Returns:
- the value value.
-
withValue
Set the value property: List of resources.- Parameters:
value
- the value value to set.- Returns:
- the WorkloadItemResourceList object itself.
-
withNextLink
Set the nextLink property: The uri to fetch the next page of resources. Call ListNext() fetches next page of resources.- Overrides:
withNextLink
in classResourceList
- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the ResourceList object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classResourceList
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-