@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBotLocalesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListBotLocalesResult() |
Modifier and Type | Method and Description |
---|---|
ListBotLocalesResult |
clone() |
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot to list locales for.
|
List<BotLocaleSummary> |
getBotLocaleSummaries()
Summary information for the locales that meet the filter criteria specified in the request.
|
String |
getBotVersion()
The version of the bot.
|
String |
getNextToken()
A token that indicates whether there are more results to return in a response to the
ListBotLocales
operation. |
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot to list locales for.
|
void |
setBotLocaleSummaries(Collection<BotLocaleSummary> botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request.
|
void |
setBotVersion(String botVersion)
The version of the bot.
|
void |
setNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBotLocales
operation. |
String |
toString()
Returns a string representation of this object.
|
ListBotLocalesResult |
withBotId(String botId)
The identifier of the bot to list locales for.
|
ListBotLocalesResult |
withBotLocaleSummaries(BotLocaleSummary... botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request.
|
ListBotLocalesResult |
withBotLocaleSummaries(Collection<BotLocaleSummary> botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request.
|
ListBotLocalesResult |
withBotVersion(String botVersion)
The version of the bot.
|
ListBotLocalesResult |
withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the
ListBotLocales
operation. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setBotId(String botId)
The identifier of the bot to list locales for.
botId
- The identifier of the bot to list locales for.public String getBotId()
The identifier of the bot to list locales for.
public ListBotLocalesResult withBotId(String botId)
The identifier of the bot to list locales for.
botId
- The identifier of the bot to list locales for.public void setBotVersion(String botVersion)
The version of the bot.
botVersion
- The version of the bot.public String getBotVersion()
The version of the bot.
public ListBotLocalesResult withBotVersion(String botVersion)
The version of the bot.
botVersion
- The version of the bot.public void setNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the ListBotLocales
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotLocales
operation request to get the next page of results.
nextToken
- A token that indicates whether there are more results to return in a response to the
ListBotLocales
operation. If the nextToken
field is present, you send the
contents as the nextToken
parameter of a ListBotLocales
operation request to get
the next page of results.public String getNextToken()
A token that indicates whether there are more results to return in a response to the ListBotLocales
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotLocales
operation request to get the next page of results.
ListBotLocales
operation. If the nextToken
field is present, you send the
contents as the nextToken
parameter of a ListBotLocales
operation request to
get the next page of results.public ListBotLocalesResult withNextToken(String nextToken)
A token that indicates whether there are more results to return in a response to the ListBotLocales
operation. If the nextToken
field is present, you send the contents as the nextToken
parameter of a ListBotLocales
operation request to get the next page of results.
nextToken
- A token that indicates whether there are more results to return in a response to the
ListBotLocales
operation. If the nextToken
field is present, you send the
contents as the nextToken
parameter of a ListBotLocales
operation request to get
the next page of results.public List<BotLocaleSummary> getBotLocaleSummaries()
Summary information for the locales that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter of the request. If there are more locales available,
the nextToken
field contains a token to get the next page of results.
maxResults
parameter of the request. If there are more locales
available, the nextToken
field contains a token to get the next page of results.public void setBotLocaleSummaries(Collection<BotLocaleSummary> botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter of the request. If there are more locales available,
the nextToken
field contains a token to get the next page of results.
botLocaleSummaries
- Summary information for the locales that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter of the request. If there are more locales
available, the nextToken
field contains a token to get the next page of results.public ListBotLocalesResult withBotLocaleSummaries(BotLocaleSummary... botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter of the request. If there are more locales available,
the nextToken
field contains a token to get the next page of results.
NOTE: This method appends the values to the existing list (if any). Use
setBotLocaleSummaries(java.util.Collection)
or withBotLocaleSummaries(java.util.Collection)
if
you want to override the existing values.
botLocaleSummaries
- Summary information for the locales that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter of the request. If there are more locales
available, the nextToken
field contains a token to get the next page of results.public ListBotLocalesResult withBotLocaleSummaries(Collection<BotLocaleSummary> botLocaleSummaries)
Summary information for the locales that meet the filter criteria specified in the request. The length of the
list is specified in the maxResults
parameter of the request. If there are more locales available,
the nextToken
field contains a token to get the next page of results.
botLocaleSummaries
- Summary information for the locales that meet the filter criteria specified in the request. The length of
the list is specified in the maxResults
parameter of the request. If there are more locales
available, the nextToken
field contains a token to get the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListBotLocalesResult clone()