@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetIntentsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetIntentsResult() |
Modifier and Type | Method and Description |
---|---|
GetIntentsResult |
clone() |
boolean |
equals(Object obj) |
List<IntentMetadata> |
getIntents()
An array of
Intent objects. |
String |
getNextToken()
If the response is truncated, the response includes a pagination token that you can specify in your next request
to fetch the next page of intents.
|
int |
hashCode() |
void |
setIntents(Collection<IntentMetadata> intents)
An array of
Intent objects. |
void |
setNextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can specify in your next request
to fetch the next page of intents.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetIntentsResult |
withIntents(Collection<IntentMetadata> intents)
An array of
Intent objects. |
GetIntentsResult |
withIntents(IntentMetadata... intents)
An array of
Intent objects. |
GetIntentsResult |
withNextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can specify in your next request
to fetch the next page of intents.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<IntentMetadata> getIntents()
An array of Intent
objects. For more information, see PutBot.
Intent
objects. For more information, see PutBot.public void setIntents(Collection<IntentMetadata> intents)
An array of Intent
objects. For more information, see PutBot.
intents
- An array of Intent
objects. For more information, see PutBot.public GetIntentsResult withIntents(IntentMetadata... intents)
An array of Intent
objects. For more information, see PutBot.
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 Intent
objects. For more information, see PutBot.public GetIntentsResult withIntents(Collection<IntentMetadata> intents)
An array of Intent
objects. For more information, see PutBot.
intents
- An array of Intent
objects. For more information, see PutBot.public void setNextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can specify in your next request to fetch the next page of intents.
nextToken
- If the response is truncated, the response includes a pagination token that you can specify in your next
request to fetch the next page of intents.public String getNextToken()
If the response is truncated, the response includes a pagination token that you can specify in your next request to fetch the next page of intents.
public GetIntentsResult withNextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can specify in your next request to fetch the next page of intents.
nextToken
- If the response is truncated, the response includes a pagination token that you can specify in your next
request to fetch the next page of intents.public String toString()
toString
in class Object
Object.toString()
public GetIntentsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.