public AcceptPageRequest withAcceptCodeValidation(AcceptCodeValidation acceptCodeValidation) {
        this.acceptCodeValidation = acceptCodeValidation.toString();
        return this;
    }
<p>
An optional field that Incident Manager uses to <code>ENFORCE</code> <code>AcceptCode</code> validation when
acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the AcceptCode in the
console. Enforcing AcceptCode validation causes Incident Manager to verify that the code entered by the user
matches the code sent by Incident Manager with the page.
</p>
<p>
Incident Manager can also <code>IGNORE</code> <code>AcceptCode</code> validation. Ignoring
<code>AcceptCode</code> validation causes Incident Manager to accept any value entered for the
<code>AcceptCode</code>.
</p>

@param acceptCodeValidation
       An optional field that Incident Manager uses to <code>ENFORCE</code> <code>AcceptCode</code> validation
       when acknowledging an page. Acknowledgement can occur by replying to a page, or when entering the
       AcceptCode in the console. Enforcing AcceptCode validation causes Incident Manager to verify that the code
       entered by the user matches the code sent by Incident Manager with the page.</p>
       <p>
       Incident Manager can also <code>IGNORE</code> <code>AcceptCode</code> validation. Ignoring
       <code>AcceptCode</code> validation causes Incident Manager to accept any value entered for the
       <code>AcceptCode</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see AcceptCodeValidation
aws-java-sdk-ssmcontacts/src/main/java/com/amazonaws/services/ssmcontacts/model/AcceptPageRequest.java