Class CacheRulesListResult
java.lang.Object
com.azure.resourcemanager.containerregistry.models.CacheRulesListResult
The result of a request to list cache rules for a container registry.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnextLink()Get the nextLink property: If provided, client must use NextLink URI to request next list of cache rules.voidvalidate()Validates the instance.value()Get the value property: The list of cache rules.withNextLink(String nextLink) Set the nextLink property: If provided, client must use NextLink URI to request next list of cache rules.withValue(List<CacheRuleInner> value) Set the value property: The list of cache rules.
-
Constructor Details
-
CacheRulesListResult
public CacheRulesListResult()Creates an instance of CacheRulesListResult class.
-
-
Method Details
-
value
Get the value property: The list of cache rules.- Returns:
- the value value.
-
withValue
Set the value property: The list of cache rules.- Parameters:
value- the value value to set.- Returns:
- the CacheRulesListResult object itself.
-
nextLink
Get the nextLink property: If provided, client must use NextLink URI to request next list of cache rules.- Returns:
- the nextLink value.
-
withNextLink
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.
-