Class CacheRuleUpdateParameters
java.lang.Object
com.azure.resourcemanager.containerregistry.models.CacheRuleUpdateParameters
The parameters for updating a cache rule.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of CacheRuleUpdateParameters class. -
Method Summary
Modifier and TypeMethodDescriptionGet the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.voidvalidate()Validates the instance.withCredentialSetResourceId(String credentialSetResourceId) Set the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.
-
Constructor Details
-
CacheRuleUpdateParameters
public CacheRuleUpdateParameters()Creates an instance of CacheRuleUpdateParameters class.
-
-
Method Details
-
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
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 CacheRuleUpdateParameters object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-