Class TagsResource
- java.lang.Object
-
- com.azure.resourcemanager.deviceprovisioningservices.models.TagsResource
-
public final class TagsResource extends Object
A container holding only the Tags for a resource, allowing the user to update the tags on a Provisioning Service instance.
-
-
Constructor Summary
Constructors Constructor Description TagsResource()
-
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.TagsResource
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 TagsResource withTags(Map<String,String> tags)
Set the tags property: Resource tags.- Parameters:
tags
- the tags value to set.- Returns:
- the TagsResource object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-