public UpdatePullRequestApprovalStateRequest withApprovalState(ApprovalState approvalState) {
        this.approvalState = approvalState.toString();
        return this;
    }
<p>
The approval state to associate with the user on the pull request.
</p>

@param approvalState
       The approval state to associate with the user on the pull request.
@return Returns a reference to this object so that method calls can be chained together.
@see ApprovalState
aws-java-sdk-codecommit/src/main/java/com/amazonaws/services/codecommit/model/UpdatePullRequestApprovalStateRequest.java