public ListTagsForResourceResult withTags(java.util.Collection<Tag> tags) {
        setTags(tags);
        return this;
    }
<p>
Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
</p>

@param tags
       Required. A list of objects specifying each key name and value. Number of objects allowed: 1-50.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-marketplacecatalog/src/main/java/com/amazonaws/services/marketplacecatalog/model/ListTagsForResourceResult.java