public static interface SubSlotValueElicitationSetting.Builder extends SdkPojo, CopyableBuilder<SubSlotValueElicitationSetting.Builder,SubSlotValueElicitationSetting>
| Modifier and Type | Method and Description |
|---|---|
default SubSlotValueElicitationSetting.Builder |
defaultValueSpecification(Consumer<SlotDefaultValueSpecification.Builder> defaultValueSpecification)
Sets the value of the DefaultValueSpecification property for this object.
|
SubSlotValueElicitationSetting.Builder |
defaultValueSpecification(SlotDefaultValueSpecification defaultValueSpecification)
Sets the value of the DefaultValueSpecification property for this object.
|
default SubSlotValueElicitationSetting.Builder |
promptSpecification(Consumer<PromptSpecification.Builder> promptSpecification)
Sets the value of the PromptSpecification property for this object.
|
SubSlotValueElicitationSetting.Builder |
promptSpecification(PromptSpecification promptSpecification)
Sets the value of the PromptSpecification property for this object.
|
SubSlotValueElicitationSetting.Builder |
sampleUtterances(Collection<SampleUtterance> sampleUtterances)
If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you
can provide those utterances to improve accuracy.
|
SubSlotValueElicitationSetting.Builder |
sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances)
If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you
can provide those utterances to improve accuracy.
|
SubSlotValueElicitationSetting.Builder |
sampleUtterances(SampleUtterance... sampleUtterances)
If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you
can provide those utterances to improve accuracy.
|
default SubSlotValueElicitationSetting.Builder |
waitAndContinueSpecification(Consumer<WaitAndContinueSpecification.Builder> waitAndContinueSpecification)
Sets the value of the WaitAndContinueSpecification property for this object.
|
SubSlotValueElicitationSetting.Builder |
waitAndContinueSpecification(WaitAndContinueSpecification waitAndContinueSpecification)
Sets the value of the WaitAndContinueSpecification property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildSubSlotValueElicitationSetting.Builder defaultValueSpecification(SlotDefaultValueSpecification defaultValueSpecification)
defaultValueSpecification - The new value for the DefaultValueSpecification property for this object.default SubSlotValueElicitationSetting.Builder defaultValueSpecification(Consumer<SlotDefaultValueSpecification.Builder> defaultValueSpecification)
SlotDefaultValueSpecification.Builder
avoiding the need to create one manually via SlotDefaultValueSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to defaultValueSpecification(SlotDefaultValueSpecification).
defaultValueSpecification - a consumer that will call methods on SlotDefaultValueSpecification.BuilderdefaultValueSpecification(SlotDefaultValueSpecification)SubSlotValueElicitationSetting.Builder promptSpecification(PromptSpecification promptSpecification)
promptSpecification - The new value for the PromptSpecification property for this object.default SubSlotValueElicitationSetting.Builder promptSpecification(Consumer<PromptSpecification.Builder> promptSpecification)
PromptSpecification.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 promptSpecification(PromptSpecification).
promptSpecification - a consumer that will call methods on PromptSpecification.BuilderpromptSpecification(PromptSpecification)SubSlotValueElicitationSetting.Builder sampleUtterances(Collection<SampleUtterance> sampleUtterances)
If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you
can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of
understanding user utterances. This is similar to SampleUtterances for slots.
sampleUtterances - If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value,
you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is
capable of understanding user utterances. This is similar to SampleUtterances for slots.SubSlotValueElicitationSetting.Builder sampleUtterances(SampleUtterance... sampleUtterances)
If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you
can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of
understanding user utterances. This is similar to SampleUtterances for slots.
sampleUtterances - If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value,
you can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is
capable of understanding user utterances. This is similar to SampleUtterances for slots.SubSlotValueElicitationSetting.Builder sampleUtterances(Consumer<SampleUtterance.Builder>... sampleUtterances)
If you know a specific pattern that users might respond to an Amazon Lex request for a sub slot value, you
can provide those utterances to improve accuracy. This is optional. In most cases Amazon Lex is capable of
understanding user utterances. This is similar to SampleUtterances for slots.
SampleUtterance.Builder avoiding the need to create
one manually via SampleUtterance.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #sampleUtterances(List.
sampleUtterances - a consumer that will call methods on
SampleUtterance.Builder#sampleUtterances(java.util.Collection) SubSlotValueElicitationSetting.Builder waitAndContinueSpecification(WaitAndContinueSpecification waitAndContinueSpecification)
waitAndContinueSpecification - The new value for the WaitAndContinueSpecification property for this object.default SubSlotValueElicitationSetting.Builder waitAndContinueSpecification(Consumer<WaitAndContinueSpecification.Builder> waitAndContinueSpecification)
WaitAndContinueSpecification.Builder
avoiding the need to create one manually via WaitAndContinueSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to waitAndContinueSpecification(WaitAndContinueSpecification).
waitAndContinueSpecification - a consumer that will call methods on WaitAndContinueSpecification.BuilderwaitAndContinueSpecification(WaitAndContinueSpecification)Copyright © 2023. All rights reserved.