@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBotLocalesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListBotLocalesRequest() |
Modifier and Type | Method and Description |
---|---|
ListBotLocalesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The identifier of the bot to list locales for.
|
String |
getBotVersion()
The version of the bot to list locales for.
|
List<BotLocaleFilter> |
getFilters()
Provides the specification for a filter used to limit the response to only those locales that match the filter
specification.
|
Integer |
getMaxResults()
The maximum number of aliases to return in each page of results.
|
String |
getNextToken()
If the response from the
ListBotLocales operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
BotLocaleSortBy |
getSortBy()
Specifies sorting parameters for the list of locales.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot to list locales for.
|
void |
setBotVersion(String botVersion)
The version of the bot to list locales for.
|
void |
setFilters(Collection<BotLocaleFilter> filters)
Provides the specification for a filter used to limit the response to only those locales that match the filter
specification.
|
void |
setMaxResults(Integer maxResults)
The maximum number of aliases to return in each page of results.
|
void |
setNextToken(String nextToken)
If the response from the
ListBotLocales operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
void |
setSortBy(BotLocaleSortBy sortBy)
Specifies sorting parameters for the list of locales.
|
String |
toString()
Returns a string representation of this object.
|
ListBotLocalesRequest |
withBotId(String botId)
The identifier of the bot to list locales for.
|
ListBotLocalesRequest |
withBotVersion(String botVersion)
The version of the bot to list locales for.
|
ListBotLocalesRequest |
withFilters(BotLocaleFilter... filters)
Provides the specification for a filter used to limit the response to only those locales that match the filter
specification.
|
ListBotLocalesRequest |
withFilters(Collection<BotLocaleFilter> filters)
Provides the specification for a filter used to limit the response to only those locales that match the filter
specification.
|
ListBotLocalesRequest |
withMaxResults(Integer maxResults)
The maximum number of aliases to return in each page of results.
|
ListBotLocalesRequest |
withNextToken(String nextToken)
If the response from the
ListBotLocales operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
ListBotLocalesRequest |
withSortBy(BotLocaleSortBy sortBy)
Specifies sorting parameters for the list of locales.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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 ListBotLocalesRequest 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 to list locales for.
botVersion
- The version of the bot to list locales for.public String getBotVersion()
The version of the bot to list locales for.
public ListBotLocalesRequest withBotVersion(String botVersion)
The version of the bot to list locales for.
botVersion
- The version of the bot to list locales for.public void setSortBy(BotLocaleSortBy sortBy)
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
sortBy
- Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or
descending order.public BotLocaleSortBy getSortBy()
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
public ListBotLocalesRequest withSortBy(BotLocaleSortBy sortBy)
Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or descending order.
sortBy
- Specifies sorting parameters for the list of locales. You can sort by locale name in ascending or
descending order.public List<BotLocaleFilter> getFilters()
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
public void setFilters(Collection<BotLocaleFilter> filters)
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
filters
- Provides the specification for a filter used to limit the response to only those locales that match the
filter specification. You can only specify one filter and one value to filter on.public ListBotLocalesRequest withFilters(BotLocaleFilter... filters)
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
NOTE: This method appends the values to the existing list (if any). Use
setFilters(java.util.Collection)
or withFilters(java.util.Collection)
if you want to override
the existing values.
filters
- Provides the specification for a filter used to limit the response to only those locales that match the
filter specification. You can only specify one filter and one value to filter on.public ListBotLocalesRequest withFilters(Collection<BotLocaleFilter> filters)
Provides the specification for a filter used to limit the response to only those locales that match the filter specification. You can only specify one filter and one value to filter on.
filters
- Provides the specification for a filter used to limit the response to only those locales that match the
filter specification. You can only specify one filter and one value to filter on.public void setMaxResults(Integer maxResults)
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
maxResults
- The maximum number of aliases to return in each page of results. If there are fewer results than the max
page size, only the actual number of results are returned.public Integer getMaxResults()
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
public ListBotLocalesRequest withMaxResults(Integer maxResults)
The maximum number of aliases to return in each page of results. If there are fewer results than the max page size, only the actual number of results are returned.
maxResults
- The maximum number of aliases to return in each page of results. If there are fewer results than the max
page size, only the actual number of results are returned.public void setNextToken(String nextToken)
If the response from the ListBotLocales
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token as the
nextToken
parameter to return the next page of results.
nextToken
- If the response from the ListBotLocales
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token as the
nextToken
parameter to return the next page of results.public String getNextToken()
If the response from the ListBotLocales
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token as the
nextToken
parameter to return the next page of results.
ListBotLocales
operation contains more results than specified in
the maxResults
parameter, a token is returned in the response. Use that token as the
nextToken
parameter to return the next page of results.public ListBotLocalesRequest withNextToken(String nextToken)
If the response from the ListBotLocales
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token as the
nextToken
parameter to return the next page of results.
nextToken
- If the response from the ListBotLocales
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token as the
nextToken
parameter to return the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListBotLocalesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()