Class ListProjectsResult
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.ListProjectsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListProjectsResult extends Object implements Serializable, Cloneable
Represents the result of a list projects request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListProjectsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(Project... projects)
Information about the projects.ListProjectsResult
withProjects(Collection<Project> projects)
Information about the projects.
-
-
-
Method Detail
-
getProjects
public List<Project> getProjects()
Information about the projects.
- Returns:
- Information about the projects.
-
setProjects
public void setProjects(Collection<Project> projects)
Information about the projects.
- Parameters:
projects
- Information about the projects.
-
withProjects
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)
orwithProjects(java.util.Collection)
if you want to override the existing values.- Parameters:
projects
- Information about the projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withProjects
public ListProjectsResult withProjects(Collection<Project> projects)
Information about the projects.
- Parameters:
projects
- Information about the projects.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextToken
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.
- Parameters:
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.
-
getNextToken
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.
- Returns:
- 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.
-
withNextToken
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListProjectsResult clone()
-
-