Class CacheRuleUpdateProperties

java.lang.Object
com.azure.resourcemanager.containerregistry.fluent.models.CacheRuleUpdateProperties

public final class CacheRuleUpdateProperties extends Object
The parameters for updating cache rule properties.
  • Constructor Details

    • CacheRuleUpdateProperties

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

    • credentialSetResourceId

      public String credentialSetResourceId()
      Get the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.
      Returns:
      the credentialSetResourceId value.
    • withCredentialSetResourceId

      public CacheRuleUpdateProperties withCredentialSetResourceId(String credentialSetResourceId)
      Set the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.
      Parameters:
      credentialSetResourceId - the credentialSetResourceId value to set.
      Returns:
      the CacheRuleUpdateProperties object itself.
    • validate

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