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