public ListFleetsResult withFleets(java.util.Collection<String> fleets) {
        setFleets(fleets);
        return this;
    }
<p>
The list of compute fleet names.
</p>

@param fleets
       The list of compute fleet names.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/ListFleetsResult.java