public ListEnabledControlsResult withEnabledControls(EnabledControlSummary... enabledControls) {
        if (this.enabledControls == null) {
            setEnabledControls(new java.util.ArrayList<EnabledControlSummary>(enabledControls.length));
        }
        for (EnabledControlSummary ele : enabledControls) {
            this.enabledControls.add(ele);
        }
        return this;
    }
<p>
Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and the
accounts it contains.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEnabledControls(java.util.Collection)} or {@link #withEnabledControls(java.util.Collection)} if you
want to override the existing values.
</p>

@param enabledControls
       Lists the controls enabled by Amazon Web Services Control Tower on the specified organizational unit and
       the accounts it contains.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-controltower/src/main/java/com/amazonaws/services/controltower/model/ListEnabledControlsResult.java