public ExportDestination withDataFormat(DataFormat dataFormat) {
        this.dataFormat = dataFormat.toString();
        return this;
    }
<p>
The data format of the final export job file, can be one of the following:
</p>
<ul>
<li>
<p>
<code>CSV</code> - A comma-separated values file.
</p>
</li>
<li>
<p>
<code>JSON</code> - A Json file.
</p>
</li>
</ul>

@param dataFormat
       The data format of the final export job file, can be one of the following:</p>
       <ul>
       <li>
       <p>
       <code>CSV</code> - A comma-separated values file.
       </p>
       </li>
       <li>
       <p>
       <code>JSON</code> - A Json file.
       </p>
       </li>
@return Returns a reference to this object so that method calls can be chained together.
@see DataFormat
aws-java-sdk-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/ExportDestination.java