public ExportMetadataModelAssessmentRequest withAssessmentReportTypes(AssessmentReportType... assessmentReportTypes) {
        java.util.ArrayList<String> assessmentReportTypesCopy = new java.util.ArrayList<String>(assessmentReportTypes.length);
        for (AssessmentReportType value : assessmentReportTypes) {
            assessmentReportTypesCopy.add(value.toString());
        }
        if (getAssessmentReportTypes() == null) {
            setAssessmentReportTypes(assessmentReportTypesCopy);
        } else {
            getAssessmentReportTypes().addAll(assessmentReportTypesCopy);
        }
        return this;
    }
<p>
The file format of the assessment file.
</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