@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetIntentVersionsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetIntentVersionsResult() |
Modifier and Type | Method and Description |
---|---|
GetIntentVersionsResult |
clone() |
boolean |
equals(Object obj) |
List<IntentMetadata> |
getIntents()
An array of
IntentMetadata objects, one for each numbered version of the intent plus one for the
$LATEST version. |
String |
getNextToken()
A pagination token for fetching the next page of intent versions.
|
int |
hashCode() |
void |
setIntents(Collection<IntentMetadata> intents)
An array of
IntentMetadata objects, one for each numbered version of the intent plus one for the
$LATEST version. |
void |
setNextToken(String nextToken)
A pagination token for fetching the next page of intent versions.
|
String |
toString()
Returns a string representation of this object.
|
GetIntentVersionsResult |
withIntents(Collection<IntentMetadata> intents)
An array of
IntentMetadata objects, one for each numbered version of the intent plus one for the
$LATEST version. |
GetIntentVersionsResult |
withIntents(IntentMetadata... intents)
An array of
IntentMetadata objects, one for each numbered version of the intent plus one for the
$LATEST version. |
GetIntentVersionsResult |
withNextToken(String nextToken)
A pagination token for fetching the next page of intent versions.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<IntentMetadata> getIntents()
An array of IntentMetadata
objects, one for each numbered version of the intent plus one for the
$LATEST
version.
IntentMetadata
objects, one for each numbered version of the intent plus one for
the $LATEST
version.public void setIntents(Collection<IntentMetadata> intents)
An array of IntentMetadata
objects, one for each numbered version of the intent plus one for the
$LATEST
version.
intents
- An array of IntentMetadata
objects, one for each numbered version of the intent plus one for
the $LATEST
version.public GetIntentVersionsResult withIntents(IntentMetadata... intents)
An array of IntentMetadata
objects, one for each numbered version of the intent plus one for the
$LATEST
version.
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 IntentMetadata
objects, one for each numbered version of the intent plus one for
the $LATEST
version.public GetIntentVersionsResult withIntents(Collection<IntentMetadata> intents)
An array of IntentMetadata
objects, one for each numbered version of the intent plus one for the
$LATEST
version.
intents
- An array of IntentMetadata
objects, one for each numbered version of the intent plus one for
the $LATEST
version.public void setNextToken(String nextToken)
A pagination token for fetching the next page of intent 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 intent 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 intent 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 GetIntentVersionsResult withNextToken(String nextToken)
A pagination token for fetching the next page of intent 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 intent 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 toString()
toString
in class Object
Object.toString()
public GetIntentVersionsResult clone()