public TagResourceRequest withTags(ResourceTag... tags) {
        if (this.tags == null) {
            setTags(new java.util.ArrayList<ResourceTag>(tags.length));
        }
        for (ResourceTag ele : tags) {
            this.tags.add(ele);
        }
        return this;
    }
<p>
The list of tags to add to a domain.
</p>
<p>
Tags may only contain unicode letters, digits, whitespace, or these symbols: <code>_ . : / = + - @</code>.
</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
       The list of tags to add to a domain. </p>
       <p>
       Tags may only contain unicode letters, digits, whitespace, or these symbols: <code>_ . : / = + - @</code>.
@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/TagResourceRequest.java