@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBotVersionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetBotVersionsRequest() |
Modifier and Type | Method and Description |
---|---|
GetBotVersionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Integer |
getMaxResults()
The maximum number of bot versions to return in the response.
|
String |
getName()
The name of the bot for which versions should be returned.
|
String |
getNextToken()
A pagination token for fetching the next page of bot versions.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of bot versions to return in the response.
|
void |
setName(String name)
The name of the bot for which versions should be returned.
|
void |
setNextToken(String nextToken)
A pagination token for fetching the next page of bot versions.
|
String |
toString()
Returns a string representation of this object.
|
GetBotVersionsRequest |
withMaxResults(Integer maxResults)
The maximum number of bot versions to return in the response.
|
GetBotVersionsRequest |
withName(String name)
The name of the bot for which versions should be returned.
|
GetBotVersionsRequest |
withNextToken(String nextToken)
A pagination token for fetching the next page of bot 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 setName(String name)
The name of the bot for which versions should be returned.
name
- The name of the bot for which versions should be returned.public String getName()
The name of the bot for which versions should be returned.
public GetBotVersionsRequest withName(String name)
The name of the bot for which versions should be returned.
name
- The name of the bot for which versions should be returned.public void setNextToken(String nextToken)
A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
nextToken
- A pagination token for fetching the next page of bot versions. If the response to this call is truncated,
Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the
pagination token in the next request.public String getNextToken()
A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
public GetBotVersionsRequest withNextToken(String nextToken)
A pagination token for fetching the next page of bot versions. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the pagination token in the next request.
nextToken
- A pagination token for fetching the next page of bot versions. If the response to this call is truncated,
Amazon Lex returns a pagination token in the response. To fetch the next page of versions, specify the
pagination token in the next request.public void setMaxResults(Integer maxResults)
The maximum number of bot versions to return in the response. The default is 10.
maxResults
- The maximum number of bot versions to return in the response. The default is 10.public Integer getMaxResults()
The maximum number of bot versions to return in the response. The default is 10.
public GetBotVersionsRequest withMaxResults(Integer maxResults)
The maximum number of bot versions to return in the response. The default is 10.
maxResults
- The maximum number of bot versions to return in the response. The default is 10.public String toString()
toString
in class Object
Object.toString()
public GetBotVersionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()