Class TaggedResource
java.lang.Object
com.azure.resourcemanager.communication.models.TaggedResource
- Direct Known Subclasses:
CommunicationServiceResourceUpdate
,EmailServiceResourceUpdate
,UpdateDomainRequestParameters
An ARM resource with that can accept tags.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
TaggedResource
public TaggedResource()
-
-
Method Details
-
tags
Get the tags property: Tags of the service which is a list of key value pairs that describe the resource.- Returns:
- the tags value.
-
withTags
Set the tags property: Tags of the service which is a list of key value pairs that describe the resource.- Parameters:
tags
- the tags value to set.- Returns:
- the TaggedResource object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-