@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetBuiltinIntentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetBuiltinIntentsResult() |
Modifier and Type | Method and Description |
---|---|
GetBuiltinIntentsResult |
clone() |
boolean |
equals(Object obj) |
List<BuiltinIntentMetadata> |
getIntents()
An array of
builtinIntentMetadata objects, one for each intent in the response. |
String |
getNextToken()
A pagination token that fetches the next page of intents.
|
int |
hashCode() |
void |
setIntents(Collection<BuiltinIntentMetadata> intents)
An array of
builtinIntentMetadata objects, one for each intent in the response. |
void |
setNextToken(String nextToken)
A pagination token that fetches the next page of intents.
|
String |
toString()
Returns a string representation of this object.
|
GetBuiltinIntentsResult |
withIntents(BuiltinIntentMetadata... intents)
An array of
builtinIntentMetadata objects, one for each intent in the response. |
GetBuiltinIntentsResult |
withIntents(Collection<BuiltinIntentMetadata> intents)
An array of
builtinIntentMetadata objects, one for each intent in the response. |
GetBuiltinIntentsResult |
withNextToken(String nextToken)
A pagination token that fetches the next page of intents.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<BuiltinIntentMetadata> getIntents()
An array of builtinIntentMetadata
objects, one for each intent in the response.
builtinIntentMetadata
objects, one for each intent in the response.public void setIntents(Collection<BuiltinIntentMetadata> intents)
An array of builtinIntentMetadata
objects, one for each intent in the response.
intents
- An array of builtinIntentMetadata
objects, one for each intent in the response.public GetBuiltinIntentsResult withIntents(BuiltinIntentMetadata... intents)
An array of builtinIntentMetadata
objects, one for each intent in the response.
NOTE: This method appends the values to the existing list (if any). Use
setIntents(java.util.Collection)
or withIntents(java.util.Collection)
if you want to override
the existing values.
intents
- An array of builtinIntentMetadata
objects, one for each intent in the response.public GetBuiltinIntentsResult withIntents(Collection<BuiltinIntentMetadata> intents)
An array of builtinIntentMetadata
objects, one for each intent in the response.
intents
- An array of builtinIntentMetadata
objects, one for each intent in the response.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 GetBuiltinIntentsResult 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 String toString()
toString
in class Object
Object.toString()
public GetBuiltinIntentsResult clone()