CacheUpdate Class
- java.
lang. Object - com.
azure. resourcemanager. netapp. models. CacheUpdate
- com.
Implements
public final class CacheUpdate
implements JsonSerializable<CacheUpdate>
The type used for update operations of the Cache.
Constructor Summary
| Constructor | Description |
|---|---|
| CacheUpdate() |
Creates an instance of Cache |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Cache |
fromJson(JsonReader jsonReader)
Reads an instance of Cache |
|
Cache |
properties()
Get the properties property: The resource-specific properties for this resource. |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Cache |
withProperties(CacheUpdateProperties properties)
Set the properties property: The resource-specific properties for this resource. |
|
Cache |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
CacheUpdate
public CacheUpdate()
Creates an instance of CacheUpdate class.
Method Details
fromJson
public static CacheUpdate fromJson(JsonReader jsonReader)
Reads an instance of CacheUpdate from the JsonReader.
Parameters:
Returns:
Throws:
properties
public CacheUpdateProperties properties()
Get the properties property: The resource-specific properties for this resource.
Returns:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withProperties
public CacheUpdate withProperties(CacheUpdateProperties properties)
Set the properties property: The resource-specific properties for this resource.
Parameters:
Returns:
withTags
public CacheUpdate withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: