Class CacheRulesListResult

java.lang.Object
com.azure.resourcemanager.containerregistry.models.CacheRulesListResult

public final class CacheRulesListResult extends Object
The result of a request to list cache rules for a container registry.
  • Constructor Details

    • CacheRulesListResult

      public CacheRulesListResult()
      Creates an instance of CacheRulesListResult class.
  • Method Details

    • value

      public List<CacheRuleInner> value()
      Get the value property: The list of cache rules.
      Returns:
      the value value.
    • withValue

      public CacheRulesListResult withValue(List<CacheRuleInner> value)
      Set the value property: The list of cache rules.
      Parameters:
      value - the value value to set.
      Returns:
      the CacheRulesListResult object itself.
    • nextLink

      public String nextLink()
      Get the nextLink property: If provided, client must use NextLink URI to request next list of cache rules.
      Returns:
      the nextLink value.
    • withNextLink

      public CacheRulesListResult withNextLink(String nextLink)
      Set the nextLink property: If provided, client must use NextLink URI to request next list of cache rules.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the CacheRulesListResult object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.