@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListBotsResult() |
Modifier and Type | Method and Description |
---|---|
ListBotsResult |
clone() |
boolean |
equals(Object obj) |
List<Bot> |
getBots()
List of bots and bot details.
|
String |
getNextToken()
The token to use to retrieve the next page of results.
|
int |
hashCode() |
void |
setBots(Collection<Bot> bots)
List of bots and bot details.
|
void |
setNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListBotsResult |
withBots(Bot... bots)
List of bots and bot details.
|
ListBotsResult |
withBots(Collection<Bot> bots)
List of bots and bot details.
|
ListBotsResult |
withNextToken(String nextToken)
The token to use to retrieve the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Bot> getBots()
List of bots and bot details.
public void setBots(Collection<Bot> bots)
List of bots and bot details.
bots
- List of bots and bot details.public ListBotsResult withBots(Bot... bots)
List of bots and bot details.
NOTE: This method appends the values to the existing list (if any). Use
setBots(java.util.Collection)
or withBots(java.util.Collection)
if you want to override the
existing values.
bots
- List of bots and bot details.public ListBotsResult withBots(Collection<Bot> bots)
List of bots and bot details.
bots
- List of bots and bot details.public void setNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String getNextToken()
The token to use to retrieve the next page of results.
public ListBotsResult withNextToken(String nextToken)
The token to use to retrieve the next page of results.
nextToken
- The token to use to retrieve the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListBotsResult clone()