public ValidationException withReason(ValidationExceptionReason reason) {
        this.reason = reason.toString();
        return this;
    }
<p>
The reason for the validation exception.
</p>

@param reason
       The reason for the validation exception.
@return Returns a reference to this object so that method calls can be chained together.
@see ValidationExceptionReason
aws-java-sdk-bcmdataexports/src/main/java/com/amazonaws/services/bcmdataexports/model/ValidationException.java