Interface SubSlotValueElicitationSetting.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<SubSlotValueElicitationSetting.Builder,
,SubSlotValueElicitationSetting> SdkBuilder<SubSlotValueElicitationSetting.Builder,
,SubSlotValueElicitationSetting> SdkPojo
- Enclosing class:
SubSlotValueElicitationSetting
-
Method Summary
Modifier and TypeMethodDescriptiondefaultValueSpecification
(Consumer<SlotDefaultValueSpecification.Builder> defaultValueSpecification) Sets the value of the DefaultValueSpecification property for this object.defaultValueSpecification
(SlotDefaultValueSpecification defaultValueSpecification) Sets the value of the DefaultValueSpecification property for this object.promptSpecification
(Consumer<PromptSpecification.Builder> promptSpecification) Sets the value of the PromptSpecification property for this object.promptSpecification
(PromptSpecification promptSpecification) Sets the value of the PromptSpecification property for this object.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.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.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.waitAndContinueSpecification
(Consumer<WaitAndContinueSpecification.Builder> waitAndContinueSpecification) Sets the value of the WaitAndContinueSpecification property for this object.waitAndContinueSpecification
(WaitAndContinueSpecification waitAndContinueSpecification) Sets the value of the WaitAndContinueSpecification property for this object.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
defaultValueSpecification
SubSlotValueElicitationSetting.Builder defaultValueSpecification(SlotDefaultValueSpecification defaultValueSpecification) Sets the value of the DefaultValueSpecification property for this object.- Parameters:
defaultValueSpecification
- The new value for the DefaultValueSpecification property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultValueSpecification
default SubSlotValueElicitationSetting.Builder defaultValueSpecification(Consumer<SlotDefaultValueSpecification.Builder> defaultValueSpecification) Sets the value of the DefaultValueSpecification property for this object. This is a convenience method that creates an instance of theSlotDefaultValueSpecification.Builder
avoiding the need to create one manually viaSlotDefaultValueSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefaultValueSpecification(SlotDefaultValueSpecification)
.- Parameters:
defaultValueSpecification
- a consumer that will call methods onSlotDefaultValueSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
promptSpecification
Sets the value of the PromptSpecification property for this object.- Parameters:
promptSpecification
- The new value for the PromptSpecification property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
promptSpecification
default SubSlotValueElicitationSetting.Builder promptSpecification(Consumer<PromptSpecification.Builder> promptSpecification) Sets the value of the PromptSpecification property for this object. This is a convenience method that creates an instance of thePromptSpecification.Builder
avoiding the need to create one manually viaPromptSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topromptSpecification(PromptSpecification)
.- Parameters:
promptSpecification
- a consumer that will call methods onPromptSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sampleUtterances
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.- Parameters:
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 toSampleUtterances
for slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.- Parameters:
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 toSampleUtterances
for slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
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
This is a convenience method that creates an instance of theSampleUtterances
for slots.SampleUtterance.Builder
avoiding the need to create one manually viaSampleUtterance.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosampleUtterances(List<SampleUtterance>)
.- Parameters:
sampleUtterances
- a consumer that will call methods onSampleUtterance.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
waitAndContinueSpecification
SubSlotValueElicitationSetting.Builder waitAndContinueSpecification(WaitAndContinueSpecification waitAndContinueSpecification) Sets the value of the WaitAndContinueSpecification property for this object.- Parameters:
waitAndContinueSpecification
- The new value for the WaitAndContinueSpecification property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
waitAndContinueSpecification
default SubSlotValueElicitationSetting.Builder waitAndContinueSpecification(Consumer<WaitAndContinueSpecification.Builder> waitAndContinueSpecification) Sets the value of the WaitAndContinueSpecification property for this object. This is a convenience method that creates an instance of theWaitAndContinueSpecification.Builder
avoiding the need to create one manually viaWaitAndContinueSpecification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towaitAndContinueSpecification(WaitAndContinueSpecification)
.- Parameters:
waitAndContinueSpecification
- a consumer that will call methods onWaitAndContinueSpecification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-