/** * <p> * Specifies the type of the assessment report that you want to generate. There are two types of assessment reports: * a finding report and a full report. For more information, see <a * href="http://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html">Assessment Reports</a>. * </p> * * @param reportType * Specifies the type of the assessment report that you want to generate. There are two types of assessment * reports: a finding report and a full report. For more information, see <a * href="http://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html">Assessment * Reports</a>. * @return Returns a reference to this object so that method calls can be chained together. * @see ReportType */ public GetAssessmentReportRequest withReportType(String reportType) { setReportType(reportType); return this; }
/** * <p> * Specifies the type of the assessment report that you want to generate. There are two types of assessment reports: * a finding report and a full report. For more information, see <a * href="http://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html">Assessment Reports</a>. * </p> * * @param reportType * Specifies the type of the assessment report that you want to generate. There are two types of assessment * reports: a finding report and a full report. For more information, see <a * href="http://docs.aws.amazon.com/inspector/latest/userguide/inspector_reports.html">Assessment * Reports</a>. * @return Returns a reference to this object so that method calls can be chained together. * @see ReportType */ public GetAssessmentReportRequest withReportType(String reportType) { setReportType(reportType); return this; }