public BatchGetFleetsRequest withNames(java.util.Collection<String> names) {
        setNames(names);
        return this;
    }
<p>
The names or ARNs of the compute fleets.
</p>

@param names
       The names or ARNs of the compute fleets.
@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/BatchGetFleetsRequest.java