@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListProjectsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the result of a list projects request.
Constructor and Description |
---|
ListProjectsResult() |
Modifier and Type | Method and Description |
---|---|
ListProjectsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
List<Project> |
getProjects()
Information about the projects.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
void |
setProjects(Collection<Project> projects)
Information about the projects.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListProjectsResult |
withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned,
which can be used in a subsequent call to this operation to return the next set of items in the list.
|
ListProjectsResult |
withProjects(Collection<Project> projects)
Information about the projects.
|
ListProjectsResult |
withProjects(Project... projects)
Information about the projects.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Project> getProjects()
Information about the projects.
public void setProjects(Collection<Project> projects)
Information about the projects.
projects
- Information about the projects.public ListProjectsResult withProjects(Project... projects)
Information about the 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
- Information about the projects.public ListProjectsResult withProjects(Collection<Project> projects)
Information about the projects.
projects
- Information about the projects.public void setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned, which can be used in a subsequent call to this operation to return the next set of items in the
list.public String getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
public ListProjectsResult withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned, which can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned, which can be used in a subsequent call to this operation to return the next set of items in the
list.public String toString()
toString
in class Object
Object.toString()
public ListProjectsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.