CopyableBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>
, SdkBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>
public static interface GetIntentVersionsResponse.Builder extends CopyableBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>
Modifier and Type | Method | Description |
---|---|---|
GetIntentVersionsResponse.Builder |
intents(Collection<IntentMetadata> intents) |
An array of
IntentMetadata objects, one for each numbered version of the intent plus one for the
$LATEST version. |
GetIntentVersionsResponse.Builder |
intents(IntentMetadata... intents) |
An array of
IntentMetadata objects, one for each numbered version of the intent plus one for the
$LATEST version. |
GetIntentVersionsResponse.Builder |
nextToken(String nextToken) |
A pagination token for fetching the next page of intent versions.
|
copy
apply, build
GetIntentVersionsResponse.Builder intents(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.GetIntentVersionsResponse.Builder intents(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.GetIntentVersionsResponse.Builder nextToken(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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.