public Integer getMaxRetries() {
        return this.maxRetries;
    }
<p>
The maximum number of times the bot tries to elicit a response from the user using this prompt.
</p>

@return The maximum number of times the bot tries to elicit a response from the user using this prompt.
aws-java-sdk-lexmodelsv2/src/main/java/com/amazonaws/services/lexmodelsv2/model/PromptSpecification.java