/** * @param projects * @return Returns a reference to this object so that method calls can be chained together. */ public ListProjectsResult withProjects(java.util.Collection<ProjectSummary> projects) { setProjects(projects); return this; }
/** * <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 * @return Returns a reference to this object so that method calls can be chained together. */ public ListProjectsResult withProjects(ProjectSummary... projects) { if (this.projects == null) { setProjects(new java.util.ArrayList<ProjectSummary>(projects.length)); } for (ProjectSummary ele : projects) { this.projects.add(ele); } return this; }
if (context.testExpression("projects", targetDepth)) { context.nextToken(); listProjectsResult.setProjects(new ListUnmarshaller<ProjectSummary>(ProjectSummaryJsonUnmarshaller.getInstance()).unmarshall(context));
/** * @param projects * @return Returns a reference to this object so that method calls can be chained together. */ public ListProjectsResult withProjects(java.util.Collection<ProjectSummary> projects) { setProjects(projects); return this; }
/** * <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 * @return Returns a reference to this object so that method calls can be chained together. */ public ListProjectsResult withProjects(ProjectSummary... projects) { if (this.projects == null) { setProjects(new java.util.ArrayList<ProjectSummary>(projects.length)); } for (ProjectSummary ele : projects) { this.projects.add(ele); } return this; }
if (context.testExpression("projects", targetDepth)) { context.nextToken(); listProjectsResult.setProjects(new ListUnmarshaller<ProjectSummary>(ProjectSummaryJsonUnmarshaller.getInstance()).unmarshall(context));