public ListEnabledControlsRequest withFilter(EnabledControlFilter filter) {
        setFilter(filter);
        return this;
    }
<p>
An input filter for the <code>ListEnabledControls</code> API that lets you select the types of control operations
to view.
</p>

@param filter
       An input filter for the <code>ListEnabledControls</code> API that lets you select the types of control
       operations to view.
@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/ListEnabledControlsRequest.java