Interface GetSlotTypeVersionsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetSlotTypeVersionsResponse.Builder,
,GetSlotTypeVersionsResponse> LexModelBuildingResponse.Builder
,SdkBuilder<GetSlotTypeVersionsResponse.Builder,
,GetSlotTypeVersionsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetSlotTypeVersionsResponse
-
Method Summary
Modifier and TypeMethodDescriptionA pagination token for fetching the next page of slot type versions.slotTypes
(Collection<SlotTypeMetadata> slotTypes) An array ofSlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.slotTypes
(Consumer<SlotTypeMetadata.Builder>... slotTypes) An array ofSlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.slotTypes
(SlotTypeMetadata... slotTypes) An array ofSlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.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
-
slotTypes
An array of
SlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.- Parameters:
slotTypes
- An array ofSlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypes
An array of
SlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.- Parameters:
slotTypes
- An array ofSlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
slotTypes
An array of
This is a convenience method that creates an instance of theSlotTypeMetadata
objects, one for each numbered version of the slot type plus one for the$LATEST
version.SlotTypeMetadata.Builder
avoiding the need to create one manually viaSlotTypeMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toslotTypes(List<SlotTypeMetadata>)
.- Parameters:
slotTypes
- a consumer that will call methods onSlotTypeMetadata.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 slot type 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 slot type 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.
-