CacheRuleUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. containerregistry. models. CacheRuleUpdateParameters
- com.
Implements
public final class CacheRuleUpdateParameters
implements JsonSerializable<CacheRuleUpdateParameters>
The parameters for updating a cache rule.
Constructor Summary
| Constructor | Description |
|---|---|
| CacheRuleUpdateParameters() |
Creates an instance of Cache |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
credentialSetResourceId()
Get the credential |
|
static
Cache |
fromJson(JsonReader jsonReader)
Reads an instance of Cache |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cache |
withCredentialSetResourceId(String credentialSetResourceId)
Set the credential |
Methods inherited from java.lang.Object
Constructor Details
CacheRuleUpdateParameters
public CacheRuleUpdateParameters()
Creates an instance of CacheRuleUpdateParameters 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:
fromJson
public static CacheRuleUpdateParameters fromJson(JsonReader jsonReader)
Reads an instance of CacheRuleUpdateParameters from the JsonReader.
Parameters:
Returns:
Throws:
toJson
validate
public void validate()
Validates the instance.
withCredentialSetResourceId
public CacheRuleUpdateParameters withCredentialSetResourceId(String credentialSetResourceId)
Set the credentialSetResourceId property: The ARM resource ID of the credential store which is associated with the Cache rule.
Parameters:
Returns: