<p>
Specifies to return only these tagged resources.
</p>

@param tags
Specifies to return only these tagged resources.
@return Returns a reference to this object so that method calls can be chained together.
973441
public ListDevEndpointsRequest 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;
    }
62089
public DescribeInputResult 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;
    }
801720
public java.util.List<java.util.Map<String, String>> getTags() {
        return tags;
    }
691020
public StopChannelResult 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;
  }
1207994
public CreateLoggerDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
117232
public DescribeFleetResult withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
337363
public ListQueueTagsResult 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;
    }
451059
public DefinitionInformation withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
139945
public GetDeviceDefinitionResult 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;
    }
66504
public CreateConnectorDefinitionRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }
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);
    }
213349
public WriteSegmentRequest withTags(java.util.Map<String, String> tags) {
        setTags(tags);
        return this;
    }