public static interface GetSlotTypesResponse.Builder extends LexModelBuildingResponse.Builder, SdkPojo, 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, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetSlotTypesResponse.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 method that creates an instance of theSlotTypeMetadata.Builder avoiding the need to
create one manually via
SlotTypeMetadata.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #slotTypes(List.
slotTypes - a consumer that will call methods on
SlotTypeMetadata.Builder#slotTypes(java.util.Collection) 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 © 2022. All rights reserved.