Class CachesListResult
- java.lang.Object
-
- com.azure.resourcemanager.storagecache.models.CachesListResult
-
public final class CachesListResult extends Object
Result of the request to list Caches. It contains a list of Caches and a URL link to get the next set of results.
-
-
Constructor Summary
Constructors Constructor Description CachesListResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
nextLink()
Get the nextLink property: URL to get the next set of Cache list results, if there are any.void
validate()
Validates the instance.List<CacheInner>
value()
Get the value property: List of Caches.CachesListResult
withNextLink(String nextLink)
Set the nextLink property: URL to get the next set of Cache list results, if there are any.CachesListResult
withValue(List<CacheInner> value)
Set the value property: List of Caches.
-
-
-
Method Detail
-
nextLink
public String nextLink()
Get the nextLink property: URL to get the next set of Cache list results, if there are any.- Returns:
- the nextLink value.
-
withNextLink
public CachesListResult withNextLink(String nextLink)
Set the nextLink property: URL to get the next set of Cache list results, if there are any.- Parameters:
nextLink
- the nextLink value to set.- Returns:
- the CachesListResult object itself.
-
value
public List<CacheInner> value()
Get the value property: List of Caches.- Returns:
- the value value.
-
withValue
public CachesListResult withValue(List<CacheInner> value)
Set the value property: List of Caches.- Parameters:
value
- the value value to set.- Returns:
- the CachesListResult object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-