The tags for the definition.

@param tags
The tags for the definition.
@return Returns a reference to this object so that method calls can be chained together.
430103
public GetCoreDefinitionResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
973441
public ListDevEndpointsRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
512747
public CreateRobotResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
734731
public GetConnectorDefinitionResult 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);
    }
1207994
public CreateLoggerDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
189368
public AffectedEntity withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1158386
public CreateChannelRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
120504
public TagProjectResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
362874
public CreateSubscriptionDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1097833
public CreateBranchRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
209495
public CreateRobotApplicationResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1056872
public CreateAppRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
1336578
public GetResourceDefinitionResult 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;
	}
1352751
@SuppressWarnings("unchecked")
	public T tag(final String tag) {
		if (this.tags == null) {
			this.tags = new HashSet<>();
		}

		this.tags.add(tag);
		return (T) this;
	}
139945
public GetDeviceDefinitionResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }