Class ResourcePatch
- java.lang.Object
-
- com.azure.resourcemanager.scvmm.models.ResourcePatch
-
public final class ResourcePatch extends Object
Object containing tags updates for patch operations.
-
-
Constructor Summary
Constructors Constructor Description ResourcePatch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>
tags()
Get the tags property: Resource tags.void
validate()
Validates the instance.ResourcePatch
withTags(Map<String,String> tags)
Set the tags property: Resource tags.
-
-
-
Method Detail
-
tags
public Map<String,String> tags()
Get the tags property: Resource tags.- Returns:
- the tags value.
-
withTags
public ResourcePatch withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the ResourcePatch object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-