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