public AccessConfiguration withAccessControls(AccessControl... accessControls) {
        if (this.accessControls == null) {
            setAccessControls(new java.util.ArrayList<AccessControl>(accessControls.length));
        }
        for (AccessControl ele : accessControls) {
            this.accessControls.add(ele);
        }
        return this;
    }
<p>
A list of <code>AccessControlList</code> objects.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAccessControls(java.util.Collection)} or {@link #withAccessControls(java.util.Collection)} if you want
to override the existing values.
</p>

@param accessControls
       A list of <code>AccessControlList</code> objects.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-qbusiness/src/main/java/com/amazonaws/services/qbusiness/model/AccessConfiguration.java