Class TaggedResource

java.lang.Object
com.azure.resourcemanager.communication.models.TaggedResource
Direct Known Subclasses:
CommunicationServiceResourceUpdate, EmailServiceResourceUpdate, UpdateDomainRequestParameters

public class TaggedResource extends Object
An ARM resource with that can accept tags.
  • Constructor Details

    • TaggedResource

      public TaggedResource()
  • Method Details

    • tags

      public Map<String,String> 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

      public TaggedResource withTags(Map<String,String> tags)
      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.