public ListOrganizationAdminAccountsResult withAdminAccounts(AdminAccount... adminAccounts) {
        if (this.adminAccounts == null) {
            setAdminAccounts(new java.util.ArrayList<AdminAccount>(adminAccounts.length));
        }
        for (AdminAccount ele : adminAccounts) {
            this.adminAccounts.add(ele);
        }
        return this;
    }
<p>
An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only one of
these accounts can have a status of ENABLED.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAdminAccounts(java.util.Collection)} or {@link #withAdminAccounts(java.util.Collection)} if you want
to override the existing values.
</p>

@param adminAccounts
       An array of objects, one for each delegated Amazon Macie administrator account for the organization. Only
       one of these accounts can have a status of ENABLED.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/ListOrganizationAdminAccountsResult.java