@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListImportsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListImportsRequest() |
Modifier and Type | Method and Description |
---|---|
ListImportsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getBotId()
The unique identifier that Amazon Lex assigned to the bot.
|
String |
getBotVersion()
The version of the bot to list imports for.
|
List<ImportFilter> |
getFilters()
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
String |
getLocaleId()
Specifies the locale that should be present in the list.
|
Integer |
getMaxResults()
The maximum number of imports to return in each page of results.
|
String |
getNextToken()
If the response from the
ListImports operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
ImportSortBy |
getSortBy()
Determines the field that the list of imports is sorted by.
|
int |
hashCode() |
void |
setBotId(String botId)
The unique identifier that Amazon Lex assigned to the bot.
|
void |
setBotVersion(String botVersion)
The version of the bot to list imports for.
|
void |
setFilters(Collection<ImportFilter> filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
void |
setLocaleId(String localeId)
Specifies the locale that should be present in the list.
|
void |
setMaxResults(Integer maxResults)
The maximum number of imports to return in each page of results.
|
void |
setNextToken(String nextToken)
If the response from the
ListImports operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
void |
setSortBy(ImportSortBy sortBy)
Determines the field that the list of imports is sorted by.
|
String |
toString()
Returns a string representation of this object.
|
ListImportsRequest |
withBotId(String botId)
The unique identifier that Amazon Lex assigned to the bot.
|
ListImportsRequest |
withBotVersion(String botVersion)
The version of the bot to list imports for.
|
ListImportsRequest |
withFilters(Collection<ImportFilter> filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
ListImportsRequest |
withFilters(ImportFilter... filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
ListImportsRequest |
withLocaleId(String localeId)
Specifies the locale that should be present in the list.
|
ListImportsRequest |
withMaxResults(Integer maxResults)
The maximum number of imports to return in each page of results.
|
ListImportsRequest |
withNextToken(String nextToken)
If the response from the
ListImports operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
ListImportsRequest |
withSortBy(ImportSortBy sortBy)
Determines the field that the list of imports is sorted by.
|
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 that Amazon Lex assigned to the bot.
botId
- The unique identifier that Amazon Lex assigned to the bot.public String getBotId()
The unique identifier that Amazon Lex assigned to the bot.
public ListImportsRequest withBotId(String botId)
The unique identifier that Amazon Lex assigned to the bot.
botId
- The unique identifier that Amazon Lex assigned to the bot.public void setBotVersion(String botVersion)
The version of the bot to list imports for.
botVersion
- The version of the bot to list imports for.public String getBotVersion()
The version of the bot to list imports for.
public ListImportsRequest withBotVersion(String botVersion)
The version of the bot to list imports for.
botVersion
- The version of the bot to list imports for.public void setSortBy(ImportSortBy sortBy)
Determines the field that the list of imports is sorted by. You can sort by the LastUpdatedDateTime
field in ascending or descending order.
sortBy
- Determines the field that the list of imports is sorted by. You can sort by the
LastUpdatedDateTime
field in ascending or descending order.public ImportSortBy getSortBy()
Determines the field that the list of imports is sorted by. You can sort by the LastUpdatedDateTime
field in ascending or descending order.
LastUpdatedDateTime
field in ascending or descending order.public ListImportsRequest withSortBy(ImportSortBy sortBy)
Determines the field that the list of imports is sorted by. You can sort by the LastUpdatedDateTime
field in ascending or descending order.
sortBy
- Determines the field that the list of imports is sorted by. You can sort by the
LastUpdatedDateTime
field in ascending or descending order.public List<ImportFilter> getFilters()
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
public void setFilters(Collection<ImportFilter> filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
filters
- Provides the specification of a filter used to limit the bots in the response to only those that match the
filter specification. You can only specify one filter and one string to filter on.public ListImportsRequest withFilters(ImportFilter... filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and 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 bots in the response to only those that match the
filter specification. You can only specify one filter and one string to filter on.public ListImportsRequest withFilters(Collection<ImportFilter> filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter specification. You can only specify one filter and one string to filter on.
filters
- Provides the specification of a filter used to limit the bots in the response to only those that match the
filter specification. You can only specify one filter and one string to filter on.public void setMaxResults(Integer maxResults)
The maximum number of imports 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 imports 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 imports 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 ListImportsRequest withMaxResults(Integer maxResults)
The maximum number of imports 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 imports 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 ListImports
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 ListImports
request to return
the next page of results. For a complete set of results, call the ListImports
operation until the
nextToken
returned in the response is null.
nextToken
- If the response from the ListImports
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 ListImports
request to
return the next page of results. For a complete set of results, call the ListImports
operation until the nextToken
returned in the response is null.
public String getNextToken()
If the response from the ListImports
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 ListImports
request to return
the next page of results. For a complete set of results, call the ListImports
operation until the
nextToken
returned in the response is null.
ListImports
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 ListImports
request to
return the next page of results. For a complete set of results, call the ListImports
operation until the nextToken
returned in the response is null.
public ListImportsRequest withNextToken(String nextToken)
If the response from the ListImports
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 ListImports
request to return
the next page of results. For a complete set of results, call the ListImports
operation until the
nextToken
returned in the response is null.
nextToken
- If the response from the ListImports
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 ListImports
request to
return the next page of results. For a complete set of results, call the ListImports
operation until the nextToken
returned in the response is null.
public void setLocaleId(String localeId)
Specifies the locale that should be present in the list. If you don't specify a resource type in the
filters
parameter, the list contains both bot locales and custom vocabularies.
localeId
- Specifies the locale that should be present in the list. If you don't specify a resource type in the
filters
parameter, the list contains both bot locales and custom vocabularies.public String getLocaleId()
Specifies the locale that should be present in the list. If you don't specify a resource type in the
filters
parameter, the list contains both bot locales and custom vocabularies.
filters
parameter, the list contains both bot locales and custom vocabularies.public ListImportsRequest withLocaleId(String localeId)
Specifies the locale that should be present in the list. If you don't specify a resource type in the
filters
parameter, the list contains both bot locales and custom vocabularies.
localeId
- Specifies the locale that should be present in the list. If you don't specify a resource type in the
filters
parameter, the list contains both bot locales and custom vocabularies.public String toString()
toString
in class Object
Object.toString()
public ListImportsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()