public static interface PutSlotTypeResponse.Builder extends LexModelBuildingResponse.Builder, CopyableBuilder<PutSlotTypeResponse.Builder,PutSlotTypeResponse>
Modifier and Type | Method and Description |
---|---|
PutSlotTypeResponse.Builder |
checksum(String checksum)
Checksum of the
$LATEST version of the slot type. |
PutSlotTypeResponse.Builder |
createdDate(Instant createdDate)
The date that the slot type was created.
|
PutSlotTypeResponse.Builder |
description(String description)
A description of the slot type.
|
PutSlotTypeResponse.Builder |
enumerationValues(Collection<EnumerationValue> enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
PutSlotTypeResponse.Builder |
enumerationValues(Consumer<EnumerationValue.Builder>... enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
PutSlotTypeResponse.Builder |
enumerationValues(EnumerationValue... enumerationValues)
A list of
EnumerationValue objects that defines the values that the slot type can take. |
PutSlotTypeResponse.Builder |
lastUpdatedDate(Instant lastUpdatedDate)
The date that the slot type was updated.
|
PutSlotTypeResponse.Builder |
name(String name)
The name of the slot type.
|
PutSlotTypeResponse.Builder |
valueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot.
|
PutSlotTypeResponse.Builder |
valueSelectionStrategy(String valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot.
|
PutSlotTypeResponse.Builder |
version(String version)
The version of the slot type.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
PutSlotTypeResponse.Builder name(String name)
The name of the slot type.
name
- The name of the slot type.PutSlotTypeResponse.Builder description(String description)
A description of the slot type.
description
- A description of the slot type.PutSlotTypeResponse.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.PutSlotTypeResponse.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.PutSlotTypeResponse.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)
PutSlotTypeResponse.Builder lastUpdatedDate(Instant lastUpdatedDate)
The date that the slot type was updated. When you create a slot type, the creation date and last update date are the same.
lastUpdatedDate
- The date that the slot type was updated. When you create a slot type, the creation date and last
update date are the same.PutSlotTypeResponse.Builder createdDate(Instant createdDate)
The date that the slot type was created.
createdDate
- The date that the slot type was created.PutSlotTypeResponse.Builder version(String version)
The version of the slot type. For a new slot type, the version is always $LATEST
.
version
- The version of the slot type. For a new slot type, the version is always $LATEST
.PutSlotTypeResponse.Builder checksum(String checksum)
Checksum of the $LATEST
version of the slot type.
checksum
- Checksum of the $LATEST
version of the slot type.PutSlotTypeResponse.Builder valueSelectionStrategy(String valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more
information, see PutSlotType.SlotValueSelectionStrategy
,
SlotValueSelectionStrategy
PutSlotTypeResponse.Builder valueSelectionStrategy(SlotValueSelectionStrategy valueSelectionStrategy)
The slot resolution strategy that Amazon Lex uses to determine the value of the slot. For more information, see PutSlotType.
valueSelectionStrategy
- The slot resolution 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.