@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PromptAttemptSpecification extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the settings on a prompt attempt.
Constructor and Description |
---|
PromptAttemptSpecification() |
Modifier and Type | Method and Description |
---|---|
PromptAttemptSpecification |
clone() |
boolean |
equals(Object obj) |
AllowedInputTypes |
getAllowedInputTypes()
Indicates the allowed input types of the prompt attempt.
|
Boolean |
getAllowInterrupt()
Indicates whether the user can interrupt a speech prompt attempt from the bot.
|
AudioAndDTMFInputSpecification |
getAudioAndDTMFInputSpecification()
Specifies the settings on audio and DTMF input.
|
TextInputSpecification |
getTextInputSpecification()
Specifies the settings on text input.
|
int |
hashCode() |
Boolean |
isAllowInterrupt()
Indicates whether the user can interrupt a speech prompt attempt from the bot.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAllowedInputTypes(AllowedInputTypes allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
|
void |
setAllowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech prompt attempt from the bot.
|
void |
setAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
|
void |
setTextInputSpecification(TextInputSpecification textInputSpecification)
Specifies the settings on text input.
|
String |
toString()
Returns a string representation of this object.
|
PromptAttemptSpecification |
withAllowedInputTypes(AllowedInputTypes allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
|
PromptAttemptSpecification |
withAllowInterrupt(Boolean allowInterrupt)
Indicates whether the user can interrupt a speech prompt attempt from the bot.
|
PromptAttemptSpecification |
withAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
|
PromptAttemptSpecification |
withTextInputSpecification(TextInputSpecification textInputSpecification)
Specifies the settings on text input.
|
public void setAllowInterrupt(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.public Boolean getAllowInterrupt()
Indicates whether the user can interrupt a speech prompt attempt from the bot.
public PromptAttemptSpecification withAllowInterrupt(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.public Boolean isAllowInterrupt()
Indicates whether the user can interrupt a speech prompt attempt from the bot.
public void setAllowedInputTypes(AllowedInputTypes allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
allowedInputTypes
- Indicates the allowed input types of the prompt attempt.public AllowedInputTypes getAllowedInputTypes()
Indicates the allowed input types of the prompt attempt.
public PromptAttemptSpecification withAllowedInputTypes(AllowedInputTypes allowedInputTypes)
Indicates the allowed input types of the prompt attempt.
allowedInputTypes
- Indicates the allowed input types of the prompt attempt.public void setAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
audioAndDTMFInputSpecification
- Specifies the settings on audio and DTMF input.public AudioAndDTMFInputSpecification getAudioAndDTMFInputSpecification()
Specifies the settings on audio and DTMF input.
public PromptAttemptSpecification withAudioAndDTMFInputSpecification(AudioAndDTMFInputSpecification audioAndDTMFInputSpecification)
Specifies the settings on audio and DTMF input.
audioAndDTMFInputSpecification
- Specifies the settings on audio and DTMF input.public void setTextInputSpecification(TextInputSpecification textInputSpecification)
Specifies the settings on text input.
textInputSpecification
- Specifies the settings on text input.public TextInputSpecification getTextInputSpecification()
Specifies the settings on text input.
public PromptAttemptSpecification withTextInputSpecification(TextInputSpecification textInputSpecification)
Specifies the settings on text input.
textInputSpecification
- Specifies the settings on text input.public String toString()
toString
in class Object
Object.toString()
public PromptAttemptSpecification clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.