@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()
A token that you can use in a subsequent call to retrieve the next set of results.
|
List<Project> |
getProjects()
A list of projects that are defined .
|
int |
hashCode() |
void |
setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
void |
setProjects(Collection<Project> projects)
A list of projects that are defined .
|
String |
toString()
Returns a string representation of this object.
|
ListProjectsResult |
withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
ListProjectsResult |
withProjects(Collection<Project> projects)
A list of projects that are defined .
|
ListProjectsResult |
withProjects(Project... projects)
A list of projects that are defined .
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Project> getProjects()
A list of projects that are defined .
public void setProjects(Collection<Project> projects)
A list of projects that are defined .
projects - A list of projects that are defined .public ListProjectsResult withProjects(Project... projects)
A list of projects that are defined .
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 that are defined .public ListProjectsResult withProjects(Collection<Project> projects)
A list of projects that are defined .
projects - A list of projects that are defined .public void setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken - A token that you can use in a subsequent call to retrieve the next set of results.public String getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
public ListProjectsResult withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken - A token that you can use in a subsequent call to retrieve the next set of results.public String toString()
toString in class ObjectObject.toString()public ListProjectsResult clone()