@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSlotTypesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListSlotTypesRequest() |
Modifier and Type | Method and Description |
---|---|
ListSlotTypesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The unique identifier of the bot that contains the slot types.
|
String |
getBotVersion()
The version of the bot that contains the slot type.
|
List<SlotTypeFilter> |
getFilters()
Provides the specification of a filter used to limit the slot types in the response to only those that match the
filter specification.
|
String |
getLocaleId()
The identifier of the language and locale of the slot types to list.
|
Integer |
getMaxResults()
The maximum number of slot types to return in each page of results.
|
String |
getNextToken()
If the response from the
ListSlotTypes operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
SlotTypeSortBy |
getSortBy()
Determines the sort order for the response from the
ListSlotTypes operation. |
int |
hashCode() |
void |
setBotId(String botId)
The unique identifier of the bot that contains the slot types.
|
void |
setBotVersion(String botVersion)
The version of the bot that contains the slot type.
|
void |
setFilters(Collection<SlotTypeFilter> filters)
Provides the specification of a filter used to limit the slot types in the response to only those that match the
filter specification.
|
void |
setLocaleId(String localeId)
The identifier of the language and locale of the slot types to list.
|
void |
setMaxResults(Integer maxResults)
The maximum number of slot types to return in each page of results.
|
void |
setNextToken(String nextToken)
If the response from the
ListSlotTypes operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
void |
setSortBy(SlotTypeSortBy sortBy)
Determines the sort order for the response from the
ListSlotTypes operation. |
String |
toString()
Returns a string representation of this object.
|
ListSlotTypesRequest |
withBotId(String botId)
The unique identifier of the bot that contains the slot types.
|
ListSlotTypesRequest |
withBotVersion(String botVersion)
The version of the bot that contains the slot type.
|
ListSlotTypesRequest |
withFilters(Collection<SlotTypeFilter> filters)
Provides the specification of a filter used to limit the slot types in the response to only those that match the
filter specification.
|
ListSlotTypesRequest |
withFilters(SlotTypeFilter... filters)
Provides the specification of a filter used to limit the slot types in the response to only those that match the
filter specification.
|
ListSlotTypesRequest |
withLocaleId(String localeId)
The identifier of the language and locale of the slot types to list.
|
ListSlotTypesRequest |
withMaxResults(Integer maxResults)
The maximum number of slot types to return in each page of results.
|
ListSlotTypesRequest |
withNextToken(String nextToken)
If the response from the
ListSlotTypes operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
ListSlotTypesRequest |
withSortBy(SlotTypeSortBy sortBy)
Determines the sort order for the response from the
ListSlotTypes operation. |
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 unique identifier of the bot that contains the slot types.
botId
- The unique identifier of the bot that contains the slot types.public String getBotId()
The unique identifier of the bot that contains the slot types.
public ListSlotTypesRequest withBotId(String botId)
The unique identifier of the bot that contains the slot types.
botId
- The unique identifier of the bot that contains the slot types.public void setBotVersion(String botVersion)
The version of the bot that contains the slot type.
botVersion
- The version of the bot that contains the slot type.public String getBotVersion()
The version of the bot that contains the slot type.
public ListSlotTypesRequest withBotVersion(String botVersion)
The version of the bot that contains the slot type.
botVersion
- The version of the bot that contains the slot type.public void setLocaleId(String localeId)
The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages.
localeId
- The identifier of the language and locale of the slot types to list. The string must match one of the
supported locales. For more information, see Supported languages.public String getLocaleId()
The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages.
public ListSlotTypesRequest withLocaleId(String localeId)
The identifier of the language and locale of the slot types to list. The string must match one of the supported locales. For more information, see Supported languages.
localeId
- The identifier of the language and locale of the slot types to list. The string must match one of the
supported locales. For more information, see Supported languages.public void setSortBy(SlotTypeSortBy sortBy)
Determines the sort order for the response from the ListSlotTypes
operation. You can choose to sort
by the slot type name or last updated date in either ascending or descending order.
sortBy
- Determines the sort order for the response from the ListSlotTypes
operation. You can choose
to sort by the slot type name or last updated date in either ascending or descending order.public SlotTypeSortBy getSortBy()
Determines the sort order for the response from the ListSlotTypes
operation. You can choose to sort
by the slot type name or last updated date in either ascending or descending order.
ListSlotTypes
operation. You can choose
to sort by the slot type name or last updated date in either ascending or descending order.public ListSlotTypesRequest withSortBy(SlotTypeSortBy sortBy)
Determines the sort order for the response from the ListSlotTypes
operation. You can choose to sort
by the slot type name or last updated date in either ascending or descending order.
sortBy
- Determines the sort order for the response from the ListSlotTypes
operation. You can choose
to sort by the slot type name or last updated date in either ascending or descending order.public List<SlotTypeFilter> getFilters()
Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
public void setFilters(Collection<SlotTypeFilter> filters)
Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
filters
- Provides the specification of a filter used to limit the slot types in the response to only those that
match the filter specification. You can only specify one filter and only one string to filter on.public ListSlotTypesRequest withFilters(SlotTypeFilter... filters)
Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string 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 of a filter used to limit the slot types in the response to only those that
match the filter specification. You can only specify one filter and only one string to filter on.public ListSlotTypesRequest withFilters(Collection<SlotTypeFilter> filters)
Provides the specification of a filter used to limit the slot types in the response to only those that match the filter specification. You can only specify one filter and only one string to filter on.
filters
- Provides the specification of a filter used to limit the slot types in the response to only those that
match the filter specification. You can only specify one filter and only one string to filter on.public void setMaxResults(Integer maxResults)
The maximum number of slot types 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 slot types 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 slot types 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 ListSlotTypesRequest withMaxResults(Integer maxResults)
The maximum number of slot types 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 slot types 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 ListSlotTypes
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token in the
nextToken
parameter to return the next page of results.
nextToken
- If the response from the ListSlotTypes
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token in the
nextToken
parameter to return the next page of results.public String getNextToken()
If the response from the ListSlotTypes
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token in the
nextToken
parameter to return the next page of results.
ListSlotTypes
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token in the
nextToken
parameter to return the next page of results.public ListSlotTypesRequest withNextToken(String nextToken)
If the response from the ListSlotTypes
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token in the
nextToken
parameter to return the next page of results.
nextToken
- If the response from the ListSlotTypes
operation contains more results than specified in the
maxResults
parameter, a token is returned in the response. Use that token in the
nextToken
parameter to return the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListSlotTypesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()