public WorkflowTypeInfos withTypeInfos(WorkflowTypeInfo... typeInfos) {
        if (this.typeInfos == null) {
            setTypeInfos(new java.util.ArrayList<WorkflowTypeInfo>(typeInfos.length));
        }
        for (WorkflowTypeInfo ele : typeInfos) {
            this.typeInfos.add(ele);
        }
        return this;
    }
<p>
The list of workflow type information.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTypeInfos(java.util.Collection)} or {@link #withTypeInfos(java.util.Collection)} if you want to
override the existing values.
</p>

@param typeInfos
       The list of workflow type information.
@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/WorkflowTypeInfos.java