public S3DeltaDirectTarget withCompression(String compression) {
        setCompression(compression);
        return this;
    }
<p>
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension.
Possible values are <code>"gzip"</code> and <code>"bzip"</code>).
</p>

@param compression
       Specifies how the data is compressed. This is generally not necessary if the data has a standard file
       extension. Possible values are <code>"gzip"</code> and <code>"bzip"</code>).
@return Returns a reference to this object so that method calls can be chained together.
@see DeltaTargetCompressionType
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/S3DeltaDirectTarget.java