public PromptSpecification withPromptAttemptsSpecification(java.util.Map<String, PromptAttemptSpecification> promptAttemptsSpecification) {
        setPromptAttemptsSpecification(promptAttemptsSpecification);
        return this;
    }
<p>
Specifies the advanced settings on each attempt of the prompt.
</p>

@param promptAttemptsSpecification
       Specifies the advanced settings on each attempt of the prompt.
@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