public static interface GetIntentVersionsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetIntentVersionsResponse.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.
IntentMetadata.Builder avoiding the need to
create one manually via
IntentMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #intents(List.
intents - a consumer that will call methods on
IntentMetadata.Builder#intents(java.util.Collection) 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 © 2023. All rights reserved.