@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProjectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListProjectsResult() |
Modifier and Type | Method and Description |
---|---|
ListProjectsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The continuation token to use when requesting the next set of results, if there are more results to be returned.
|
List<ProjectSummary> |
getProjects()
A list of projects.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
|
void |
setProjects(Collection<ProjectSummary> projects)
A list of projects.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListProjectsResult |
withNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
|
ListProjectsResult |
withProjects(Collection<ProjectSummary> projects)
A list of projects.
|
ListProjectsResult |
withProjects(ProjectSummary... projects)
A list of projects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<ProjectSummary> getProjects()
A list of projects.
public void setProjects(Collection<ProjectSummary> projects)
A list of projects.
projects
- A list of projects.public ListProjectsResult withProjects(ProjectSummary... projects)
A list of projects.
NOTE: This method appends the values to the existing list (if any). Use
setProjects(java.util.Collection)
or withProjects(java.util.Collection)
if you want to override
the existing values.
projects
- A list of projects.public ListProjectsResult withProjects(Collection<ProjectSummary> projects)
A list of projects.
projects
- A list of projects.public void setNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
nextToken
- The continuation token to use when requesting the next set of results, if there are more results to be
returned.public String getNextToken()
The continuation token to use when requesting the next set of results, if there are more results to be returned.
public ListProjectsResult withNextToken(String nextToken)
The continuation token to use when requesting the next set of results, if there are more results to be returned.
nextToken
- The continuation token to use when requesting the next set of results, if there are more results to be
returned.public String toString()
toString
in class Object
Object.toString()
public ListProjectsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.