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

        this.fleets = new java.util.ArrayList<String>(fleets);
    }
<p>
The list of compute fleet names.
</p>

@param fleets
       The list of compute fleet names.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/ListFleetsResult.java