public ReplicationInfo withTargetCompressionType(TargetCompressionType targetCompressionType) {
        this.targetCompressionType = targetCompressionType.toString();
        return this;
    }
<p>
The compression type to use when producing records to target cluster.
</p>

@param targetCompressionType
       The compression type to use when producing records to target cluster.
@return Returns a reference to this object so that method calls can be chained together.
@see TargetCompressionType
aws-java-sdk-kafka/src/main/java/com/amazonaws/services/kafka/model/ReplicationInfo.java