public CellValueSynonym withSynonyms(String... synonyms) {
        if (this.synonyms == null) {
            setSynonyms(new java.util.ArrayList<String>(synonyms.length));
        }
        for (String ele : synonyms) {
            this.synonyms.add(ele);
        }
        return this;
    }
<p>
Other names or aliases for the cell value.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSynonyms(java.util.Collection)} or {@link #withSynonyms(java.util.Collection)} if you want to override
the existing values.
</p>

@param synonyms
       Other names or aliases for the cell value.
@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/CellValueSynonym.java