public static interface GetSlotTypesResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<GetSlotTypesResponse.Builder,GetSlotTypesResponse>
Modifier and Type | Method and Description |
---|---|
GetSlotTypesResponse.Builder |
nextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to
fetch the next page of slot types.
|
GetSlotTypesResponse.Builder |
slotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the
version, and a description.
|
GetSlotTypesResponse.Builder |
slotTypes(Consumer<SlotTypeMetadata.Builder>... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the
version, and a description.
|
GetSlotTypesResponse.Builder |
slotTypes(SlotTypeMetadata... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the
version, and a description.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetSlotTypesResponse.Builder slotTypes(Collection<SlotTypeMetadata> slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
slotTypes
- An array of objects, one for each slot type, that provides information such as the name of the slot
type, the version, and a description.GetSlotTypesResponse.Builder slotTypes(SlotTypeMetadata... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
slotTypes
- An array of objects, one for each slot type, that provides information such as the name of the slot
type, the version, and a description.GetSlotTypesResponse.Builder slotTypes(Consumer<SlotTypeMetadata.Builder>... slotTypes)
An array of objects, one for each slot type, that provides information such as the name of the slot type, the version, and a description.
This is a convenience that creates an instance of theList.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 #slotTypes(List)
.slotTypes
- a consumer that will call methods on List.Builder
#slotTypes(List)
GetSlotTypesResponse.Builder nextToken(String nextToken)
If the response is truncated, it includes a pagination token that you can specify in your next request to fetch the next page of slot types.
nextToken
- If the response is truncated, it includes a pagination token that you can specify in your next request
to fetch the next page of slot types.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.