The Tags for the application.

@param tags
The Tags for the application.
@return Returns a reference to this object so that method calls can be chained together.
968892
public ApplicationResponse withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
359418
public ProjectDescription withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1251220
public TagResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1067471
public CreateFleetResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
544391
public SegmentResponse withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
661873
public void setTags(java.util.Collection<String> tags) {
        if (tags == null) {
            this.tags = null;
            return;
        }

        this.tags = new java.util.ArrayList<String>(tags);
    }
337363
public ListQueueTagsResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
661470
public T withTags(String... tags) {
    for (int i = 0; i < tags.length; i += 2) {
      extraTags.add(new BasicTag(tags[i], tags[i + 1]));
    }
    return (T) this;
  }
306625
public PurchaseOfferingRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1282862
public CreateInputRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
66504
public CreateConnectorDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
883753
public MetadataBuilder setTags(List<String> tags)
    {
        if (tags == null)
            this.tags = new HashSet<>();
        else
            this.tags = Collections.unmodifiableSet(new HashSet<>(tags));

        return this;
    }
451059
public DefinitionInformation withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
430103
public GetCoreDefinitionResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
238157
public static Tags of(@Nullable Iterable<? extends Tag> tags) {
        if (tags == null || !tags.iterator().hasNext()) {
            return Tags.empty();
        } else if (tags instanceof Tags) {
            return (Tags) tags;
        } else if (tags instanceof Collection) {
            Collection<? extends Tag> tagsCollection = (Collection<? extends Tag>) tags;
            return new Tags(tagsCollection.toArray(new Tag[0]));
        } else {
            return new Tags(StreamSupport.stream(tags.spliterator(), false).toArray(Tag[]::new));
        }
    }
245009
public GetSubscriptionDefinitionResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
142752
public String getTags() {
        Set<String> setOfTags = getTagsAsSet();

        if (setOfTags.isEmpty()) {
            return "";
        }

        StringBuilder buf = new StringBuilder();
        for (String tag : setOfTags) {
            buf.append(tag);
            buf.append(",");
        }

        String tagsAsString = buf.toString();
        return tagsAsString.substring(0, tagsAsString.length()-1);
    }