public S3DirectTarget withFormat(TargetFormat format) {
        this.format = format.toString();
        return this;
    }
<p>
Specifies the data output format for the target.
</p>

@param format
       Specifies the data output format for the target.
@return Returns a reference to this object so that method calls can be chained together.
@see TargetFormat
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/S3DirectTarget.java