public BadRequestException withReason(BadRequestReason reason) {
        this.reason = reason.toString();
        return this;
    }
@param reason
@return Returns a reference to this object so that method calls can be chained together.
@see BadRequestReason
aws-java-sdk-appconfig/src/main/java/com/amazonaws/services/appconfig/model/BadRequestException.java