public CreateGameSessionQueueRequest withTags(Tag... tags) {
        if (this.tags == null) {
            setTags(new java.util.ArrayList<Tag>(tags.length));
        }
        for (Tag ele : tags) {
            this.tags.add(ele);
        }
        return this;
    }
<p>
A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value pairs.
Tagging Amazon Web Services resources are useful for resource management, access management and cost allocation.
For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html"> Tagging
Amazon Web Services Resources</a> in the <i>Amazon Web Services General Reference</i>.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTags(java.util.Collection)} or {@link #withTags(java.util.Collection)} if you want to override the
existing values.
</p>

@param tags
       A list of labels to assign to the new game session queue resource. Tags are developer-defined key-value
       pairs. Tagging Amazon Web Services resources are useful for resource management, access management and
       cost allocation. For more information, see <a
       href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html"> Tagging Amazon Web Services
       Resources</a> in the <i>Amazon Web Services General Reference</i>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-gamelift/src/main/java/com/amazonaws/services/gamelift/model/CreateGameSessionQueueRequest.java