public static interface SlotSummary.Builder extends SdkPojo, CopyableBuilder<SlotSummary.Builder,SlotSummary>
| Modifier and Type | Method and Description |
|---|---|
SlotSummary.Builder |
description(String description)
The description of the slot.
|
SlotSummary.Builder |
lastUpdatedDateTime(Instant lastUpdatedDateTime)
The timestamp of the last date and time that the slot was updated.
|
SlotSummary.Builder |
slotConstraint(SlotConstraint slotConstraint)
Whether the slot is required or optional.
|
SlotSummary.Builder |
slotConstraint(String slotConstraint)
Whether the slot is required or optional.
|
SlotSummary.Builder |
slotId(String slotId)
The unique identifier of the slot.
|
SlotSummary.Builder |
slotName(String slotName)
The name given to the slot.
|
SlotSummary.Builder |
slotTypeId(String slotTypeId)
The unique identifier for the slot type that defines the values for the slot.
|
default SlotSummary.Builder |
valueElicitationPromptSpecification(Consumer<PromptSpecification.Builder> valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
|
SlotSummary.Builder |
valueElicitationPromptSpecification(PromptSpecification valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSlotSummary.Builder slotId(String slotId)
The unique identifier of the slot.
slotId - The unique identifier of the slot.SlotSummary.Builder slotName(String slotName)
The name given to the slot.
slotName - The name given to the slot.SlotSummary.Builder description(String description)
The description of the slot.
description - The description of the slot.SlotSummary.Builder slotConstraint(String slotConstraint)
Whether the slot is required or optional. An intent is complete when all required slots are filled.
slotConstraint - Whether the slot is required or optional. An intent is complete when all required slots are filled.SlotConstraint,
SlotConstraintSlotSummary.Builder slotConstraint(SlotConstraint slotConstraint)
Whether the slot is required or optional. An intent is complete when all required slots are filled.
slotConstraint - Whether the slot is required or optional. An intent is complete when all required slots are filled.SlotConstraint,
SlotConstraintSlotSummary.Builder slotTypeId(String slotTypeId)
The unique identifier for the slot type that defines the values for the slot.
slotTypeId - The unique identifier for the slot type that defines the values for the slot.SlotSummary.Builder valueElicitationPromptSpecification(PromptSpecification valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
valueElicitationPromptSpecification - Prompts that are sent to the user to elicit a value for the slot.default SlotSummary.Builder valueElicitationPromptSpecification(Consumer<PromptSpecification.Builder> valueElicitationPromptSpecification)
Prompts that are sent to the user to elicit a value for the slot.
This is a convenience method that creates an instance of thePromptSpecification.Builder avoiding the
need to create one manually via PromptSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to valueElicitationPromptSpecification(PromptSpecification).valueElicitationPromptSpecification - a consumer that will call methods on PromptSpecification.BuildervalueElicitationPromptSpecification(PromptSpecification)SlotSummary.Builder lastUpdatedDateTime(Instant lastUpdatedDateTime)
The timestamp of the last date and time that the slot was updated.
lastUpdatedDateTime - The timestamp of the last date and time that the slot was updated.Copyright © 2022. All rights reserved.