Interface PromptAttemptSpecification.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<PromptAttemptSpecification.Builder,PromptAttemptSpecification>,SdkBuilder<PromptAttemptSpecification.Builder,PromptAttemptSpecification>,SdkPojo
- Enclosing class:
- PromptAttemptSpecification
public static interface PromptAttemptSpecification.Builder extends SdkPojo, CopyableBuilder<PromptAttemptSpecification.Builder,PromptAttemptSpecification>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default PromptAttemptSpecification.BuilderallowedInputTypes(Consumer<AllowedInputTypes.Builder> allowedInputTypes)Indicates the allowed input types of the prompt attempt.PromptAttemptSpecification.BuilderallowedInputTypes(AllowedInputTypes allowedInputTypes)Indicates the allowed input types of the prompt attempt.PromptAttemptSpecification.BuilderallowInterrupt(Boolean allowInterrupt)Indicates whether the user can interrupt a speech prompt attempt from the bot.default PromptAttemptSpecification.BuilderaudioAndDTMFInputSpecification(Consumer<AudioAndDTMFInputSpecification.Builder> audioAndDTMFInputSpecification)Specifies the settings on audio and DTMF input.PromptAttemptSpecification.BuilderaudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)Specifies the settings on audio and DTMF input.default PromptAttemptSpecification.BuildertextInputSpecification(Consumer<TextInputSpecification.Builder> textInputSpecification)Specifies the settings on text input.PromptAttemptSpecification.BuildertextInputSpecification(TextInputSpecification textInputSpecification)Specifies the settings on text input.-
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
-
allowInterrupt
PromptAttemptSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech prompt attempt from the bot.
- Parameters:
allowInterrupt- Indicates whether the user can interrupt a speech prompt attempt from the bot.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedInputTypes
PromptAttemptSpecification.Builder allowedInputTypes(AllowedInputTypes allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
- Parameters:
allowedInputTypes- Indicates the allowed input types of the prompt attempt.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
allowedInputTypes
default PromptAttemptSpecification.Builder allowedInputTypes(Consumer<AllowedInputTypes.Builder> allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
This is a convenience method that creates an instance of theAllowedInputTypes.Builderavoiding the need to create one manually viaAllowedInputTypes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toallowedInputTypes(AllowedInputTypes).- Parameters:
allowedInputTypes- a consumer that will call methods onAllowedInputTypes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
allowedInputTypes(AllowedInputTypes)
-
audioAndDTMFInputSpecification
PromptAttemptSpecification.Builder audioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
- Parameters:
audioAndDTMFInputSpecification- Specifies the settings on audio and DTMF input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioAndDTMFInputSpecification
default PromptAttemptSpecification.Builder audioAndDTMFInputSpecification(Consumer<AudioAndDTMFInputSpecification.Builder> audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
This is a convenience method that creates an instance of theAudioAndDTMFInputSpecification.Builderavoiding the need to create one manually viaAudioAndDTMFInputSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification).- Parameters:
audioAndDTMFInputSpecification- a consumer that will call methods onAudioAndDTMFInputSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
audioAndDTMFInputSpecification(AudioAndDTMFInputSpecification)
-
textInputSpecification
PromptAttemptSpecification.Builder textInputSpecification(TextInputSpecification textInputSpecification)
Specifies the settings on text input.
- Parameters:
textInputSpecification- Specifies the settings on text input.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
textInputSpecification
default PromptAttemptSpecification.Builder textInputSpecification(Consumer<TextInputSpecification.Builder> textInputSpecification)
Specifies the settings on text input.
This is a convenience method that creates an instance of theTextInputSpecification.Builderavoiding the need to create one manually viaTextInputSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totextInputSpecification(TextInputSpecification).- Parameters:
textInputSpecification- a consumer that will call methods onTextInputSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
textInputSpecification(TextInputSpecification)
-
-