public ListApprovedOriginsResult withOrigins(String... origins) {
        if (this.origins == null) {
            setOrigins(new java.util.ArrayList<String>(origins.length));
        }
        for (String ele : origins) {
            this.origins.add(ele);
        }
        return this;
    }
<p>
The approved origins.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setOrigins(java.util.Collection)} or {@link #withOrigins(java.util.Collection)} if you want to override
the existing values.
</p>

@param origins
       The approved origins.
@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/ListApprovedOriginsResult.java