public ListTagsForResourceOutput withTags(java.util.Collection<ResourceTag> tags) {
        setTags(tags);
        return this;
    }
<p>
An array of tags associated with the domain.
</p>

@param tags
       An array of tags associated with the domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-simpleworkflow/src/main/java/com/amazonaws/services/simpleworkflow/model/ListTagsForResourceOutput.java