Class ProtectionIntentResourceList
- java.lang.Object
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ResourceList
-
- com.azure.resourcemanager.recoveryservicesbackup.models.ProtectionIntentResourceList
-
public final class ProtectionIntentResourceList extends ResourceList
List of ProtectionIntent resources.
-
-
Constructor Summary
Constructors Constructor Description ProtectionIntentResourceList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates the instance.List<ProtectionIntentResourceInner>
value()
Get the value property: List of resources.ProtectionIntentResourceList
withNextLink(String nextLink)
Set the nextLink property: The uri to fetch the next page of resources.ProtectionIntentResourceList
withValue(List<ProtectionIntentResourceInner> value)
Set the value property: List of resources.-
Methods inherited from class com.azure.resourcemanager.recoveryservicesbackup.models.ResourceList
nextLink
-
-
-
-
Method Detail
-
value
public List<ProtectionIntentResourceInner> value()
Get the value property: List of resources.- Returns:
- the value value.
-
withValue
public ProtectionIntentResourceList withValue(List<ProtectionIntentResourceInner> value)
Set the value property: List of resources.- Parameters:
value
- the value value to set.- Returns:
- the ProtectionIntentResourceList object itself.
-
withNextLink
public ProtectionIntentResourceList withNextLink(String nextLink)
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.
-
-