@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListRobotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListRobotsResult() |
Modifier and Type | Method and Description |
---|---|
ListRobotsResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
The
nextToken value to include in a future ListRobots request. |
List<Robot> |
getRobots()
A list of robots that meet the criteria of the request.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
The
nextToken value to include in a future ListRobots request. |
void |
setRobots(Collection<Robot> robots)
A list of robots that meet the criteria of the request.
|
String |
toString()
Returns a string representation of this object.
|
ListRobotsResult |
withNextToken(String nextToken)
The
nextToken value to include in a future ListRobots request. |
ListRobotsResult |
withRobots(Collection<Robot> robots)
A list of robots that meet the criteria of the request.
|
ListRobotsResult |
withRobots(Robot... robots)
A list of robots that meet the criteria of the request.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Robot> getRobots()
A list of robots that meet the criteria of the request.
public void setRobots(Collection<Robot> robots)
A list of robots that meet the criteria of the request.
robots
- A list of robots that meet the criteria of the request.public ListRobotsResult withRobots(Robot... robots)
A list of robots that meet the criteria of the request.
NOTE: This method appends the values to the existing list (if any). Use
setRobots(java.util.Collection)
or withRobots(java.util.Collection)
if you want to override the
existing values.
robots
- A list of robots that meet the criteria of the request.public ListRobotsResult withRobots(Collection<Robot> robots)
A list of robots that meet the criteria of the request.
robots
- A list of robots that meet the criteria of the request.public void setNextToken(String nextToken)
The nextToken
value to include in a future ListRobots
request. When the results of a
ListRobot
request exceed maxResults
, this value can be used to retrieve the next page
of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListRobots
request. When the results
of a ListRobot
request exceed maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there are no more results to return.public String getNextToken()
The nextToken
value to include in a future ListRobots
request. When the results of a
ListRobot
request exceed maxResults
, this value can be used to retrieve the next page
of results. This value is null
when there are no more results to return.
nextToken
value to include in a future ListRobots
request. When the results
of a ListRobot
request exceed maxResults
, this value can be used to retrieve
the next page of results. This value is null
when there are no more results to return.public ListRobotsResult withNextToken(String nextToken)
The nextToken
value to include in a future ListRobots
request. When the results of a
ListRobot
request exceed maxResults
, this value can be used to retrieve the next page
of results. This value is null
when there are no more results to return.
nextToken
- The nextToken
value to include in a future ListRobots
request. When the results
of a ListRobot
request exceed maxResults
, this value can be used to retrieve the
next page of results. This value is null
when there are no more results to return.public String toString()
toString
in class Object
Object.toString()
public ListRobotsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.