public static interface GetIntentVersionsResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>
Modifier and Type | Method and 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(Consumer<IntentMetadata.Builder>... 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.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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.
intents
- An array of IntentMetadata
objects, one for each numbered version of the intent plus one
for the $LATEST
version.GetIntentVersionsResponse.Builder intents(Consumer<IntentMetadata.Builder>... intents)
An array of IntentMetadata
objects, one for each numbered version of the intent plus one for the
$LATEST
version.
List.Builder
avoiding the need
to create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and
its result is passed to #intents(List)
.intents
- a consumer that will call methods on List.Builder
#intents(List)
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.