public static interface GetBuiltinSlotTypesResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<GetBuiltinSlotTypesResponse.Builder,GetBuiltinSlotTypesResponse>
Modifier and Type | Method and Description |
---|---|
GetBuiltinSlotTypesResponse.Builder |
nextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can use in your next request
to fetch the next page of slot types.
|
GetBuiltinSlotTypesResponse.Builder |
slotTypes(BuiltinSlotTypeMetadata... slotTypes)
An array of
BuiltInSlotTypeMetadata objects, one entry for each slot type returned. |
GetBuiltinSlotTypesResponse.Builder |
slotTypes(Collection<BuiltinSlotTypeMetadata> slotTypes)
An array of
BuiltInSlotTypeMetadata objects, one entry for each slot type returned. |
GetBuiltinSlotTypesResponse.Builder |
slotTypes(Consumer<BuiltinSlotTypeMetadata.Builder>... slotTypes)
An array of
BuiltInSlotTypeMetadata objects, one entry for each slot type returned. |
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetBuiltinSlotTypesResponse.Builder slotTypes(Collection<BuiltinSlotTypeMetadata> slotTypes)
An array of BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.
slotTypes
- An array of BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.GetBuiltinSlotTypesResponse.Builder slotTypes(BuiltinSlotTypeMetadata... slotTypes)
An array of BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.
slotTypes
- An array of BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.GetBuiltinSlotTypesResponse.Builder slotTypes(Consumer<BuiltinSlotTypeMetadata.Builder>... slotTypes)
An array of BuiltInSlotTypeMetadata
objects, one entry for each slot type returned.
List.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)
GetBuiltinSlotTypesResponse.Builder nextToken(String nextToken)
If the response is truncated, the response includes a pagination token that you can use in your next request to fetch the next page of slot types.
nextToken
- If the response is truncated, the response includes a pagination token that you can use in your next
request to fetch the next page of slot types.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.