public PromptSpecification withAllowInterrupt(Boolean allowInterrupt) {
        setAllowInterrupt(allowInterrupt);
        return this;
    }
<p>
Indicates whether the user can interrupt a speech prompt from the bot.
</p>

@param allowInterrupt
       Indicates whether the user can interrupt a speech prompt from the bot.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/PromptSpecification.java