<p>
The key-value pairs to use for the tags.
</p>

@param tags
The key-value pairs to use for the tags.
@return Returns a reference to this object so that method calls can be chained together.
331775
public CreateLogGroupRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
568815
public CreateSimulationApplicationResult 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;
    }
266519
public static Tags of(@Nullable String... keyValues) {
        if (keyValues == null || keyValues.length == 0) {
            return empty();
        }
        if (keyValues.length % 2 == 1) {
            throw new IllegalArgumentException("size must be even, it is a set of key=value pairs");
        }
        Tag[] tags = new Tag[keyValues.length / 2];
        for (int i = 0; i < keyValues.length; i += 2) {
            tags[i / 2] = Tag.of(keyValues[i], keyValues[i + 1]);
        }
        return new Tags(tags);
    }
1315813
public T withTags(Map<String, String> tags) {
    for (Map.Entry<String, String> entry : tags.entrySet()) {
      extraTags.add(new BasicTag(entry.getKey(), entry.getValue()));
    }
    return (T) this;
  }
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;
    }
290008
public WriteCampaignRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
298018
public ListJobsRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
498819
public DeleteReservationResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
443125
public Rule setTags(String[] tags) {
    this.tags = tags == null ? null : StringUtils.join(tags, ',');
    return this;
  }
1134267
public AddTagsToStreamRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1292384
public static Set<String> getTagSet(String tags) {
		tags = StringUtils.substringBefore(tags, "\n");
		String[] tagArr = tags.split("[\\s,，;；]");
		Set<String> tagSet = new HashSet<String>();
		for (int i = 0; i < tagArr.length; i++) {
			String tag = tagArr[i].trim();
			if (!tag.isEmpty()) {
				tagSet.add(tag);
			}
		}
		return tagSet;
	}
1207994
public CreateLoggerDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1321851
public CreateGroupResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
691020
public StopChannelResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
209614
public DescribeRobotResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
508153
public ConfigurationItem withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }