public static interface PromptAttemptSpecification.Builder extends SdkPojo, CopyableBuilder<PromptAttemptSpecification.Builder,PromptAttemptSpecification>
| Modifier and Type | Method and Description |
|---|---|
PromptAttemptSpecification.Builder |
allowedInputTypes(AllowedInputTypes allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
|
default PromptAttemptSpecification.Builder |
allowedInputTypes(Consumer<AllowedInputTypes.Builder> allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
|
PromptAttemptSpecification.Builder |
allowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech prompt attempt from the bot.
|
PromptAttemptSpecification.Builder |
audioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
|
default PromptAttemptSpecification.Builder |
audioAndDTMFInputSpecification(Consumer<AudioAndDTMFInputSpecification.Builder> audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
|
default PromptAttemptSpecification.Builder |
textInputSpecification(Consumer<TextInputSpecification.Builder> textInputSpecification)
Specifies the settings on text input.
|
PromptAttemptSpecification.Builder |
textInputSpecification(TextInputSpecification textInputSpecification)
Specifies the settings on text input.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildPromptAttemptSpecification.Builder allowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech prompt attempt from the bot.
allowInterrupt - Indicates whether the user can interrupt a speech prompt attempt from the bot.PromptAttemptSpecification.Builder allowedInputTypes(AllowedInputTypes allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
allowedInputTypes - Indicates the allowed input types of the prompt attempt.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.Builder avoiding the
need to create one manually via AllowedInputTypes.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to allowedInputTypes(AllowedInputTypes).
allowedInputTypes - a consumer that will call methods on AllowedInputTypes.BuilderallowedInputTypes(AllowedInputTypes)PromptAttemptSpecification.Builder audioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
audioAndDTMFInputSpecification - Specifies the settings on audio and DTMF input.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.Builder
avoiding the need to create one manually via AudioAndDTMFInputSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
audioAndDTMFInputSpecification(AudioAndDTMFInputSpecification).
audioAndDTMFInputSpecification - a consumer that will call methods on AudioAndDTMFInputSpecification.BuilderaudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification)PromptAttemptSpecification.Builder textInputSpecification(TextInputSpecification textInputSpecification)
Specifies the settings on text input.
textInputSpecification - Specifies the settings on text input.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.Builder avoiding
the need to create one manually via TextInputSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to textInputSpecification(TextInputSpecification).
textInputSpecification - a consumer that will call methods on TextInputSpecification.BuildertextInputSpecification(TextInputSpecification)Copyright © 2022. All rights reserved.