public TopicNamedEntity withEntitySynonyms(String... entitySynonyms) {
        if (this.entitySynonyms == null) {
            setEntitySynonyms(new java.util.ArrayList<String>(entitySynonyms.length));
        }
        for (String ele : entitySynonyms) {
            this.entitySynonyms.add(ele);
        }
        return this;
    }
<p>
The other names or aliases for the named entity.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEntitySynonyms(java.util.Collection)} or {@link #withEntitySynonyms(java.util.Collection)} if you want
to override the existing values.
</p>

@param entitySynonyms
       The other names or aliases for the named entity.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/TopicNamedEntity.java