public TaskTemplateField withSingleSelectOptions(String... singleSelectOptions) {
        if (this.singleSelectOptions == null) {
            setSingleSelectOptions(new java.util.ArrayList<String>(singleSelectOptions.length));
        }
        for (String ele : singleSelectOptions) {
            this.singleSelectOptions.add(ele);
        }
        return this;
    }
<p>
A list of options for a single select field.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSingleSelectOptions(java.util.Collection)} or {@link #withSingleSelectOptions(java.util.Collection)}
if you want to override the existing values.
</p>

@param singleSelectOptions
       A list of options for a single select field.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/TaskTemplateField.java