A collection of key-value pairs

@param tags
A collection of key-value pairs
@return Returns a reference to this object so that method calls can be chained together.
498819
public DeleteReservationResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
36436
public CreateCoreDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
451059
public DefinitionInformation 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;
    }
761970
public static Map<Integer, List<TagWrapper>> getCategoryMappingFromTagList(final Collection<TagWrapper> tags) {
        final HashMap<Integer, List<TagWrapper>> mapping = new HashMap<Integer, List<TagWrapper>>();
        for (final TagWrapper tag : tags) {
            final List<CategoryInTagWrapper> catList = tag.getCategories().getItems();
            if (catList != null) {
                for (final CategoryInTagWrapper cat : catList) {
                    if (!mapping.containsKey(cat.getId())) {
                        mapping.put(cat.getId(), new ArrayList<TagWrapper>());
                    }
                    mapping.get(cat.getId()).add(tag);
                }
            }
        }
        return mapping;
    }
1234544
public R setTags(List<String> tags) {
        JsonArray jsonArray = new JsonArray();
        for (String s : tags) {
            jsonArray.add(s);
        }
        mBodyMap.put(BoxItem.FIELD_TAGS, jsonArray);
        return (R) this;
    }
877658
public DescribeConfigurationResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1179305
public GetGroupResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
732135
public DescribeInputSecurityGroupResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1267174
public static String getTagValue(Iterable<Tag> tags, String k) {
    Preconditions.checkNotNull(tags, "tags");
    Preconditions.checkNotNull(k, "key");
    for (Tag t : tags) {
      if (k.equals(t.key())) {
        return t.value();
      }
    }
    return null;
  }
508255
public Tags and(@Nullable Tag... tags) {
        if (tags == null || tags.length == 0) {
            return this;
        }
        Tag[] newTags = new Tag[last + tags.length];
        System.arraycopy(this.tags, 0, newTags, 0, last);
        System.arraycopy(tags, 0, newTags, last, tags.length);
        return new Tags(newTags);
    }
626106
public DescribeSimulationApplicationResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
999245
public CreateConfigurationRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
306625
public PurchaseOfferingRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
290008
public WriteCampaignRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
159924
public CreateDeviceDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
110995
public GetLoggerDefinitionResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }