Interface SubSlotValueElicitationSetting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<SubSlotValueElicitationSetting.Builder,SubSlotValueElicitationSetting>,SdkBuilder<SubSlotValueElicitationSetting.Builder,SubSlotValueElicitationSetting>,SdkPojo
- Enclosing class:
- SubSlotValueElicitationSetting
public static interface SubSlotValueElicitationSetting.Builder extends SdkPojo, CopyableBuilder<SubSlotValueElicitationSetting.Builder,SubSlotValueElicitationSetting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default SubSlotValueElicitationSetting.BuilderdefaultValueSpecification(Consumer<SlotDefaultValueSpecification.Builder> defaultValueSpecification)Sets the value of the DefaultValueSpecification property for this object.SubSlotValueElicitationSetting.BuilderdefaultValueSpecification(SlotDefaultValueSpecification defaultValueSpecification)Sets the value of the DefaultValueSpecification property for this object.default SubSlotValueElicitationSetting.BuilderpromptSpecification(Consumer<PromptSpecification.Builder> promptSpecification)Sets the value of the PromptSpecification property for this object.SubSlotValueElicitationSetting.BuilderpromptSpecification(PromptSpecification promptSpecification)Sets the value of the PromptSpecification property for this object.SubSlotValueElicitationSetting.BuildersampleUtterances(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.BuildersampleUtterances(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.BuildersampleUtterances(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.BuilderwaitAndContinueSpecification(Consumer<WaitAndContinueSpecification.Builder> waitAndContinueSpecification)Sets the value of the WaitAndContinueSpecification property for this object.SubSlotValueElicitationSetting.BuilderwaitAndContinueSpecification(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 Detail
-
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.Builderavoiding the need to create one manually viaSlotDefaultValueSpecification.builder().When the
Consumercompletes,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:
defaultValueSpecification(SlotDefaultValueSpecification)
-
promptSpecification
SubSlotValueElicitationSetting.Builder promptSpecification(PromptSpecification 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.Builderavoiding the need to create one manually viaPromptSpecification.builder().When the
Consumercompletes,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:
promptSpecification(PromptSpecification)
-
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
SampleUtterancesfor 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 toSampleUtterancesfor slots.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sampleUtterances
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
SampleUtterancesfor 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 toSampleUtterancesfor 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 theSampleUtterancesfor slots.SampleUtterance.Builderavoiding the need to create one manually viaSampleUtterance.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#sampleUtterances(List.) - 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:
#sampleUtterances(java.util.Collection)
-
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.Builderavoiding the need to create one manually viaWaitAndContinueSpecification.builder().When the
Consumercompletes,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:
waitAndContinueSpecification(WaitAndContinueSpecification)
-
-