public static interface GetIntentsResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetIntentsResponse.Builder,GetIntentsResponse>
| Modifier and Type | Method and Description |
|---|---|
GetIntentsResponse.Builder |
intents(Collection<IntentMetadata> intents)
An array of
Intent objects. |
GetIntentsResponse.Builder |
intents(Consumer<IntentMetadata.Builder>... intents)
An array of
Intent objects. |
GetIntentsResponse.Builder |
intents(IntentMetadata... intents)
An array of
Intent objects. |
GetIntentsResponse.Builder |
nextToken(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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetIntentsResponse.Builder intents(Collection<IntentMetadata> intents)
An array of Intent objects. For more information, see PutBot.
intents - An array of Intent objects. For more information, see PutBot.GetIntentsResponse.Builder intents(IntentMetadata... intents)
An array of Intent objects. For more information, see PutBot.
intents - An array of Intent objects. For more information, see PutBot.GetIntentsResponse.Builder intents(Consumer<IntentMetadata.Builder>... intents)
An array of Intent objects. For more information, see PutBot.
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) GetIntentsResponse.Builder nextToken(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.Copyright © 2023. All rights reserved.