@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListBotVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
ListBotVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
ListBotVersionsRequest |
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 to list versions for.
|
Integer |
getMaxResults()
The maximum number of versions to return in each page of results.
|
String |
getNextToken()
If the response to the
ListBotVersion operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
BotVersionSortBy |
getSortBy()
Specifies sorting parameters for the list of versions.
|
int |
hashCode() |
void |
setBotId(String botId)
The identifier of the bot to list versions for.
|
void |
setMaxResults(Integer maxResults)
The maximum number of versions to return in each page of results.
|
void |
setNextToken(String nextToken)
If the response to the
ListBotVersion operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
void |
setSortBy(BotVersionSortBy sortBy)
Specifies sorting parameters for the list of versions.
|
String |
toString()
Returns a string representation of this object.
|
ListBotVersionsRequest |
withBotId(String botId)
The identifier of the bot to list versions for.
|
ListBotVersionsRequest |
withMaxResults(Integer maxResults)
The maximum number of versions to return in each page of results.
|
ListBotVersionsRequest |
withNextToken(String nextToken)
If the response to the
ListBotVersion operation contains more results than specified in the
maxResults parameter, a token is returned in the response. |
ListBotVersionsRequest |
withSortBy(BotVersionSortBy sortBy)
Specifies sorting parameters for the list of versions.
|
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 to list versions for.
botId
- The identifier of the bot to list versions for.public String getBotId()
The identifier of the bot to list versions for.
public ListBotVersionsRequest withBotId(String botId)
The identifier of the bot to list versions for.
botId
- The identifier of the bot to list versions for.public void setSortBy(BotVersionSortBy sortBy)
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sortBy
- Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version
name in either ascending or descending order.public BotVersionSortBy getSortBy()
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
public ListBotVersionsRequest withSortBy(BotVersionSortBy sortBy)
Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version name in either ascending or descending order.
sortBy
- Specifies sorting parameters for the list of versions. You can specify that the list be sorted by version
name in either ascending or descending order.public void setMaxResults(Integer maxResults)
The maximum number of versions 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 versions 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 versions 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 ListBotVersionsRequest withMaxResults(Integer maxResults)
The maximum number of versions 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 versions 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 to the ListBotVersion
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 to the ListBotVersion
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 to the ListBotVersion
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.
ListBotVersion
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 ListBotVersionsRequest withNextToken(String nextToken)
If the response to the ListBotVersion
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 to the ListBotVersion
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 ListBotVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()