@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListBotsRequest() |
Modifier and Type | Method and Description |
---|---|
ListBotsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<BotFilter> |
getFilters()
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
Integer |
getMaxResults()
The maximum number of bots to return in each page of results.
|
String |
getNextToken()
If the response from the
ListBots operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
BotSortBy |
getSortBy()
Specifies sorting parameters for the list of bots.
|
int |
hashCode() |
void |
setFilters(Collection<BotFilter> filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
void |
setMaxResults(Integer maxResults)
The maximum number of bots to return in each page of results.
|
void |
setNextToken(String nextToken)
If the response from the
ListBots operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
void |
setSortBy(BotSortBy sortBy)
Specifies sorting parameters for the list of bots.
|
String |
toString()
Returns a string representation of this object.
|
ListBotsRequest |
withFilters(BotFilter... filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
ListBotsRequest |
withFilters(Collection<BotFilter> filters)
Provides the specification of a filter used to limit the bots in the response to only those that match the filter
specification.
|
ListBotsRequest |
withMaxResults(Integer maxResults)
The maximum number of bots to return in each page of results.
|
ListBotsRequest |
withNextToken(String nextToken)
If the response from the
ListBots operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
ListBotsRequest |
withSortBy(BotSortBy sortBy)
Specifies sorting parameters for the list of bots.
|
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 setSortBy(BotSortBy sortBy)
Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.
sortBy
- Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in
ascending or descending order.public BotSortBy getSortBy()
Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.
public ListBotsRequest withSortBy(BotSortBy sortBy)
Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in ascending or descending order.
sortBy
- Specifies sorting parameters for the list of bots. You can specify that the list be sorted by bot name in
ascending or descending order.public List<BotFilter> 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<BotFilter> 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 ListBotsRequest withFilters(BotFilter... 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 ListBotsRequest withFilters(Collection<BotFilter> 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 bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
maxResults
- The maximum number of bots to return in each page of results. If there are fewer results than the maximum
page size, only the actual number of results are returned.public Integer getMaxResults()
The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
public ListBotsRequest withMaxResults(Integer maxResults)
The maximum number of bots to return in each page of results. If there are fewer results than the maximum page size, only the actual number of results are returned.
maxResults
- The maximum number of bots to return in each page of results. If there are fewer results than the maximum
page size, only the actual number of results are returned.public void setNextToken(String nextToken)
If the response from the ListBots
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 ListBots
request to return the
next page of results. For a complete set of results, call the ListBots
operation until the
nextToken
returned in the response is null.
nextToken
- If the response from the ListBots
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 ListBots
request to
return the next page of results. For a complete set of results, call the ListBots
operation
until the nextToken
returned in the response is null.
public String getNextToken()
If the response from the ListBots
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 ListBots
request to return the
next page of results. For a complete set of results, call the ListBots
operation until the
nextToken
returned in the response is null.
ListBots
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 ListBots
request to
return the next page of results. For a complete set of results, call the ListBots
operation
until the nextToken
returned in the response is null.
public ListBotsRequest withNextToken(String nextToken)
If the response from the ListBots
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 ListBots
request to return the
next page of results. For a complete set of results, call the ListBots
operation until the
nextToken
returned in the response is null.
nextToken
- If the response from the ListBots
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 ListBots
request to
return the next page of results. For a complete set of results, call the ListBots
operation
until the nextToken
returned in the response is null.
public String toString()
toString
in class Object
Object.toString()
public ListBotsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()