@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBotsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBotsResult() |
Modifier and Type | Method and Description |
---|---|
GetBotsResult |
clone() |
boolean |
equals(Object obj) |
List<BotMetadata> |
getBots()
An array of
botMetadata objects, with one entry for each bot. |
String |
getNextToken()
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch
the next page of bots.
|
int |
hashCode() |
void |
setBots(Collection<BotMetadata> bots)
An array of
botMetadata objects, with one entry for each bot. |
void |
setNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch
the next page of bots.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetBotsResult |
withBots(BotMetadata... bots)
An array of
botMetadata objects, with one entry for each bot. |
GetBotsResult |
withBots(Collection<BotMetadata> bots)
An array of
botMetadata objects, with one entry for each bot. |
GetBotsResult |
withNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch
the next page of bots.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BotMetadata> getBots()
An array of botMetadata
objects, with one entry for each bot.
botMetadata
objects, with one entry for each bot.public void setBots(Collection<BotMetadata> bots)
An array of botMetadata
objects, with one entry for each bot.
bots
- An array of botMetadata
objects, with one entry for each bot.public GetBotsResult withBots(BotMetadata... bots)
An array of botMetadata
objects, with one entry for each bot.
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
- An array of botMetadata
objects, with one entry for each bot.public GetBotsResult withBots(Collection<BotMetadata> bots)
An array of botMetadata
objects, with one entry for each bot.
bots
- An array of botMetadata
objects, with one entry for each bot.public void setNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of bots.
nextToken
- If the response is truncated, it includes a pagination token that you can specify in your next request to
fetch the next page of bots.public String getNextToken()
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of bots.
public GetBotsResult withNextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of bots.
nextToken
- If the response is truncated, it includes a pagination token that you can specify in your next request to
fetch the next page of bots.public String toString()
toString
in class Object
Object.toString()
public GetBotsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.