@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBotAliasesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBotAliasesResult() |
Modifier and Type | Method and Description |
---|---|
GetBotAliasesResult |
clone() |
boolean |
equals(Object obj) |
List<BotAliasMetadata> |
getBotAliases()
An array of
BotAliasMetadata objects, each describing a bot alias. |
String |
getNextToken()
A pagination token for fetching next page of aliases.
|
int |
hashCode() |
void |
setBotAliases(Collection<BotAliasMetadata> botAliases)
An array of
BotAliasMetadata objects, each describing a bot alias. |
void |
setNextToken(String nextToken)
A pagination token for fetching next page of aliases.
|
String |
toString()
Returns a string representation of this object.
|
GetBotAliasesResult |
withBotAliases(BotAliasMetadata... botAliases)
An array of
BotAliasMetadata objects, each describing a bot alias. |
GetBotAliasesResult |
withBotAliases(Collection<BotAliasMetadata> botAliases)
An array of
BotAliasMetadata objects, each describing a bot alias. |
GetBotAliasesResult |
withNextToken(String nextToken)
A pagination token for fetching next page of aliases.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BotAliasMetadata> getBotAliases()
An array of BotAliasMetadata
objects, each describing a bot alias.
BotAliasMetadata
objects, each describing a bot alias.public void setBotAliases(Collection<BotAliasMetadata> botAliases)
An array of BotAliasMetadata
objects, each describing a bot alias.
botAliases
- An array of BotAliasMetadata
objects, each describing a bot alias.public GetBotAliasesResult withBotAliases(BotAliasMetadata... botAliases)
An array of BotAliasMetadata
objects, each describing a bot alias.
NOTE: This method appends the values to the existing list (if any). Use
setBotAliases(java.util.Collection)
or withBotAliases(java.util.Collection)
if you want to
override the existing values.
botAliases
- An array of BotAliasMetadata
objects, each describing a bot alias.public GetBotAliasesResult withBotAliases(Collection<BotAliasMetadata> botAliases)
An array of BotAliasMetadata
objects, each describing a bot alias.
botAliases
- An array of BotAliasMetadata
objects, each describing a bot alias.public void setNextToken(String nextToken)
A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.
nextToken
- A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon
Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination
token in the next request.public String getNextToken()
A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.
public GetBotAliasesResult withNextToken(String nextToken)
A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination token in the next request.
nextToken
- A pagination token for fetching next page of aliases. If the response to this call is truncated, Amazon
Lex returns a pagination token in the response. To fetch the next page of aliases, specify the pagination
token in the next request.public String toString()
toString
in class Object
Object.toString()
public GetBotAliasesResult clone()