public void setExcludeList(java.util.Collection<String> excludeList) {
        if (excludeList == null) {
            this.excludeList = null;
            return;
        }

        this.excludeList = new java.util.ArrayList<String>(excludeList);
    }
<p>
The list of preferred resources values that you want excluded from rightsizing recommendation candidates.
</p>

@param excludeList
       The list of preferred resources values that you want excluded from rightsizing recommendation candidates.
aws-java-sdk-computeoptimizer/src/main/java/com/amazonaws/services/computeoptimizer/model/EffectivePreferredResource.java