@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBotsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
GetBotsRequest() |
Modifier and Type | Method and Description |
---|---|
GetBotsRequest |
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 bots to return in the response that the request will return.
|
String |
getNameContains()
Substring to match in bot names.
|
String |
getNextToken()
A pagination token that fetches the next page of bots.
|
int |
hashCode() |
void |
setMaxResults(Integer maxResults)
The maximum number of bots to return in the response that the request will return.
|
void |
setNameContains(String nameContains)
Substring to match in bot names.
|
void |
setNextToken(String nextToken)
A pagination token that fetches the next page of bots.
|
String |
toString()
Returns a string representation of this object.
|
GetBotsRequest |
withMaxResults(Integer maxResults)
The maximum number of bots to return in the response that the request will return.
|
GetBotsRequest |
withNameContains(String nameContains)
Substring to match in bot names.
|
GetBotsRequest |
withNextToken(String nextToken)
A pagination token that fetches the next page 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 setNextToken(String nextToken)
A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request.
nextToken
- A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon
Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination
token in the next request.public String getNextToken()
A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request.
public GetBotsRequest withNextToken(String nextToken)
A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination token in the next request.
nextToken
- A pagination token that fetches the next page of bots. If the response to this call is truncated, Amazon
Lex returns a pagination token in the response. To fetch the next page of bots, specify the pagination
token in the next request.public void setMaxResults(Integer maxResults)
The maximum number of bots to return in the response that the request will return. The default is 10.
maxResults
- The maximum number of bots to return in the response that the request will return. The default is 10.public Integer getMaxResults()
The maximum number of bots to return in the response that the request will return. The default is 10.
public GetBotsRequest withMaxResults(Integer maxResults)
The maximum number of bots to return in the response that the request will return. The default is 10.
maxResults
- The maximum number of bots to return in the response that the request will return. The default is 10.public void setNameContains(String nameContains)
Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
nameContains
- Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For
example, "xyz" matches both "xyzabc" and "abcxyz."public String getNameContains()
Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
public GetBotsRequest withNameContains(String nameContains)
Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For example, "xyz" matches both "xyzabc" and "abcxyz."
nameContains
- Substring to match in bot names. A bot will be returned if any part of its name matches the substring. For
example, "xyz" matches both "xyzabc" and "abcxyz."public String toString()
toString
in class Object
Object.toString()
public GetBotsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()