public GetMembersRequest 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;
    }
public GetMembersRequest 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>
A list of account IDs for the Security Hub member accounts on which you want to return the details.
</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
A list of account IDs for the Security Hub member accounts on which you want to return the details.
@return Returns a reference to this object so that method calls can be chained together.