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

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

@param names
       The names or ARNs of the compute fleets.
aws-java-sdk-codebuild/src/main/java/com/amazonaws/services/codebuild/model/BatchGetFleetsRequest.java