public MagneticStoreWriteProperties withEnableMagneticStoreWrites(Boolean enableMagneticStoreWrites) {
        setEnableMagneticStoreWrites(enableMagneticStoreWrites);
        return this;
    }
<p>
A flag to enable magnetic store writes.
</p>

@param enableMagneticStoreWrites
       A flag to enable magnetic store writes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/model/MagneticStoreWriteProperties.java