ResourcePatch Class
- java.
lang. Object - com.
azure. resourcemanager. connectedvmware. models. ResourcePatch
- com.
Implements
public final class ResourcePatch
implements JsonSerializable<ResourcePatch>
Object containing updates for patch operations.
Constructor Summary
| Constructor | Description |
|---|---|
| ResourcePatch() |
Creates an instance of Resource |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Resource |
fromJson(JsonReader jsonReader)
Reads an instance of Resource |
| Map<String,String> |
tags()
Get the tags property: Resource tags. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Resource |
withTags(Map<String,String> tags)
Set the tags property: Resource tags. |
Methods inherited from java.lang.Object
Constructor Details
ResourcePatch
public ResourcePatch()
Creates an instance of ResourcePatch class.
Method Details
fromJson
public static ResourcePatch fromJson(JsonReader jsonReader)
Reads an instance of ResourcePatch from the JsonReader.
Parameters:
Returns:
Throws:
tags
public Map<String,String> tags()
Get the tags property: Resource tags.
Returns:
toJson
validate
public void validate()
Validates the instance.
withTags
public ResourcePatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.
Parameters:
Returns: