@Stability(value=Stable)
public static interface CfnBot.PromptAttemptSpecificationProperty
extends software.amazon.jsii.JsiiSerializable
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.lex.*;
PromptAttemptSpecificationProperty promptAttemptSpecificationProperty = PromptAttemptSpecificationProperty.builder()
.allowedInputTypes(AllowedInputTypesProperty.builder()
.allowAudioInput(false)
.allowDtmfInput(false)
.build())
// the properties below are optional
.allowInterrupt(false)
.audioAndDtmfInputSpecification(AudioAndDTMFInputSpecificationProperty.builder()
.startTimeoutMs(123)
// the properties below are optional
.audioSpecification(AudioSpecificationProperty.builder()
.endTimeoutMs(123)
.maxLengthMs(123)
.build())
.dtmfSpecification(DTMFSpecificationProperty.builder()
.deletionCharacter("deletionCharacter")
.endCharacter("endCharacter")
.endTimeoutMs(123)
.maxLength(123)
.build())
.build())
.textInputSpecification(TextInputSpecificationProperty.builder()
.startTimeoutMs(123)
.build())
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnBot.PromptAttemptSpecificationProperty.Builder
A builder for
CfnBot.PromptAttemptSpecificationProperty |
static class |
CfnBot.PromptAttemptSpecificationProperty.Jsii$Proxy
An implementation for
CfnBot.PromptAttemptSpecificationProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnBot.PromptAttemptSpecificationProperty.Builder |
builder() |
Object |
getAllowedInputTypes()
`CfnBot.PromptAttemptSpecificationProperty.AllowedInputTypes`.
|
default Object |
getAllowInterrupt()
`CfnBot.PromptAttemptSpecificationProperty.AllowInterrupt`.
|
default Object |
getAudioAndDtmfInputSpecification()
`CfnBot.PromptAttemptSpecificationProperty.AudioAndDTMFInputSpecification`.
|
default Object |
getTextInputSpecification()
`CfnBot.PromptAttemptSpecificationProperty.TextInputSpecification`.
|
@Stability(value=Stable) @NotNull Object getAllowedInputTypes()
@Stability(value=Stable) @Nullable default Object getAllowInterrupt()
@Stability(value=Stable) @Nullable default Object getAudioAndDtmfInputSpecification()
@Stability(value=Stable) @Nullable default Object getTextInputSpecification()
@Stability(value=Stable) static CfnBot.PromptAttemptSpecificationProperty.Builder builder()
Copyright © 2022. All rights reserved.