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