public ListSharedProjectsResult withProjects(String... projects) {
        if (this.projects == null) {
            setProjects(new java.util.ArrayList<String>(projects.length));
        }
        for (String ele : projects) {
            this.projects.add(ele);
        }
        return this;
    }
<p>
The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setProjects(java.util.Collection)} or {@link #withProjects(java.util.Collection)} if you want to override
the existing values.
</p>

@param projects
       The list of ARNs for the build projects shared with the current Amazon Web Services account or user.
@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/ListSharedProjectsResult.java