public ListPortfolioAccessResult withAccountIds(String... accountIds) {
        if (this.accountIds == null) {
            setAccountIds(new java.util.ArrayList<String>(accountIds.length));
        }
        for (String ele : accountIds) {
            this.accountIds.add(ele);
        }
        return this;
    }
<p>
Information about the Amazon Web Services accounts with access to the portfolio.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAccountIds(java.util.Collection)} or {@link #withAccountIds(java.util.Collection)} if you want to
override the existing values.
</p>

@param accountIds
       Information about the Amazon Web Services accounts with access to the portfolio.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/model/ListPortfolioAccessResult.java