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 Details

    • CachesListResult

      public CachesListResult()
  • Method Details

    • 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.