public static interface CreateSlotTypeVersionResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<CreateSlotTypeVersionResponse.Builder,CreateSlotTypeVersionResponse>
Modifier and Type | Method and Description |
---|---|
CreateSlotTypeVersionResponse.Builder |
checksum(String checksum)
Checksum of the
$LATEST version of the slot type. |
CreateSlotTypeVersionResponse.Builder |
createdDate(Instant createdDate)
The date that the slot type was created.
|
CreateSlotTypeVersionResponse.Builder |
description(String description)
A description of the slot type.
|
CreateSlotTypeVersionResponse.Builder |
enumerationValues(Collection<EnumerationValue> enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
CreateSlotTypeVersionResponse.Builder |
enumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
CreateSlotTypeVersionResponse.Builder |
enumerationValues(EnumerationValue... enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
CreateSlotTypeVersionResponse.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The date that the slot type was updated.
|
CreateSlotTypeVersionResponse.Builder |
name(String name)
The name of the slot type.
|
CreateSlotTypeVersionResponse.Builder |
valueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot.
|
CreateSlotTypeVersionResponse.Builder |
valueSelectionStrategy(String valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot.
|
CreateSlotTypeVersionResponse.Builder |
version(String version)
The version assigned to the new slot type version.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
CreateSlotTypeVersionResponse.Builder name(String name)
The name of the slot type.
name
- The name of the slot type.CreateSlotTypeVersionResponse.Builder description(String description)
A description of the slot type.
description
- A description of the slot type.CreateSlotTypeVersionResponse.Builder enumerationValues(Collection<EnumerationValue> enumerationValues)
A list of EnumerationValue
objects that defines the values that the slot type can take.
enumerationValues
- A list of EnumerationValue
objects that defines the values that the slot type can take.CreateSlotTypeVersionResponse.Builder enumerationValues(EnumerationValue... enumerationValues)
A list of EnumerationValue
objects that defines the values that the slot type can take.
enumerationValues
- A list of EnumerationValue
objects that defines the values that the slot type can take.CreateSlotTypeVersionResponse.Builder enumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues)
A list of EnumerationValue
objects that defines the values that the slot type can take.
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 #enumerationValues(List)
.enumerationValues
- a consumer that will call methods on List.Builder
#enumerationValues(List)
CreateSlotTypeVersionResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date that the slot type was updated. When you create a resource, the creation date and last update date are the same.
lastUpdatedDate
- The date that the slot type was updated. When you create a resource, the creation date and last update
date are the same.CreateSlotTypeVersionResponse.Builder createdDate(Instant createdDate)
The date that the slot type was created.
createdDate
- The date that the slot type was created.CreateSlotTypeVersionResponse.Builder version(String version)
The version assigned to the new slot type version.
version
- The version assigned to the new slot type version.CreateSlotTypeVersionResponse.Builder checksum(String checksum)
Checksum of the $LATEST
version of the slot type.
checksum
- Checksum of the $LATEST
version of the slot type.CreateSlotTypeVersionResponse.Builder valueSelectionStrategy(String valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot. For more information, see
PutSlotType.SlotValueSelectionStrategy
,
SlotValueSelectionStrategy
CreateSlotTypeVersionResponse.Builder valueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The strategy that Amazon Lex uses to determine the value of the slot. For more information, see
PutSlotType.SlotValueSelectionStrategy
,
SlotValueSelectionStrategy
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.