public InvalidRequestException withDetail(InvalidRequestDetail detail) {
        setDetail(detail);
        return this;
    }
@param detail
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehend/src/main/java/com/amazonaws/services/comprehend/model/InvalidRequestException.java