public RowAlternateColorOptions withRowAlternateColors(String... rowAlternateColors) {
        if (this.rowAlternateColors == null) {
            setRowAlternateColors(new java.util.ArrayList<String>(rowAlternateColors.length));
        }
        for (String ele : rowAlternateColors) {
            this.rowAlternateColors.add(ele);
        }
        return this;
    }
<p>
Determines the list of row alternate colors.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRowAlternateColors(java.util.Collection)} or {@link #withRowAlternateColors(java.util.Collection)} if
you want to override the existing values.
</p>

@param rowAlternateColors
       Determines the list of row alternate colors.
@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/RowAlternateColorOptions.java