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