public CreateDatasetImportJobRequest withPublishAttributionMetricsToS3(Boolean publishAttributionMetricsToS3) {
        setPublishAttributionMetricsToS3(publishAttributionMetricsToS3);
        return this;
    }
<p>
If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
</p>

@param publishAttributionMetricsToS3
       If you created a metric attribution, specify whether to publish metrics for this import job to Amazon S3
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/CreateDatasetImportJobRequest.java