public BatchGetProjectsRequest withNames(java.util.Collection<String> names) {
        setNames(names);
        return this;
    }
<p>
The names or ARNs of the build projects. To get information about a project shared with your Amazon Web Services
account, its ARN must be specified. You cannot specify a shared project using its name.
</p>

@param names
       The names or ARNs of the build projects. To get information about a project shared with your Amazon Web
       Services account, its ARN must be specified. You cannot specify a shared project using its name.
@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/BatchGetProjectsRequest.java