public ExportMetadataModelAssessmentRequest withAssessmentReportTypes(String... assessmentReportTypes) {
        if (this.assessmentReportTypes == null) {
            setAssessmentReportTypes(new java.util.ArrayList<String>(assessmentReportTypes.length));
        }
        for (String ele : assessmentReportTypes) {
            this.assessmentReportTypes.add(ele);
        }
        return this;
    }
<p>
The file format of the assessment file.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setAssessmentReportTypes(java.util.Collection)} or
{@link #withAssessmentReportTypes(java.util.Collection)} if you want to override the existing values.
</p>

@param assessmentReportTypes
       The file format of the assessment file.
@return Returns a reference to this object so that method calls can be chained together.
@see AssessmentReportType
aws-java-sdk-dms/src/main/java/com/amazonaws/services/databasemigrationservice/model/ExportMetadataModelAssessmentRequest.java