public TagResourceRequest withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
A list of tag keys to add to a rescore execution plan. If a tag already exists, the existing value is replaced
with the new value.
</p>

@param tags
       A list of tag keys to add to a rescore execution plan. If a tag already exists, the existing value is
       replaced with the new value.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-kendraranking/src/main/java/com/amazonaws/services/kendraranking/model/TagResourceRequest.java