public BrowserSettings withAssociatedPortalArns(String... associatedPortalArns) {
        if (this.associatedPortalArns == null) {
            setAssociatedPortalArns(new java.util.ArrayList<String>(associatedPortalArns.length));
        }
        for (String ele : associatedPortalArns) {
            this.associatedPortalArns.add(ele);
        }
        return this;
    }
<p>
A list of web portal ARNs that this browser settings is associated with.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssociatedPortalArns(java.util.Collection)} or {@link #withAssociatedPortalArns(java.util.Collection)}
if you want to override the existing values.
</p>

@param associatedPortalArns
       A list of web portal ARNs that this browser settings is associated with.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-workspacesweb/src/main/java/com/amazonaws/services/workspacesweb/model/BrowserSettings.java