Interface GetIntentVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetIntentVersionsResponse.Builder,
,GetIntentVersionsResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetIntentVersionsResponse.Builder,
,GetIntentVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetIntentVersionsResponse
public static interface GetIntentVersionsResponse.Builder
extends LexModelBuildingResponse.Builder, SdkPojo, CopyableBuilder<GetIntentVersionsResponse.Builder,GetIntentVersionsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionintents
(Collection<IntentMetadata> intents) An array ofIntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.intents
(Consumer<IntentMetadata.Builder>... intents) An array ofIntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.intents
(IntentMetadata... intents) An array ofIntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.A pagination token for fetching the next page of intent versions.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lexmodelbuilding.model.LexModelBuildingResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
intents
An array of
IntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.- Parameters:
intents
- An array ofIntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
An array of
IntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.- Parameters:
intents
- An array ofIntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
intents
An array of
This is a convenience method that creates an instance of theIntentMetadata
objects, one for each numbered version of the intent plus one for the$LATEST
version.IntentMetadata.Builder
avoiding the need to create one manually viaIntentMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tointents(List<IntentMetadata>)
.- Parameters:
intents
- a consumer that will call methods onIntentMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-