public UpdateMalwareScanSettingsRequest withEbsSnapshotPreservation(String ebsSnapshotPreservation) {
        setEbsSnapshotPreservation(ebsSnapshotPreservation);
        return this;
    }
<p>
An enum value representing possible snapshot preservation settings.
</p>

@param ebsSnapshotPreservation
       An enum value representing possible snapshot preservation settings.
@return Returns a reference to this object so that method calls can be chained together.
@see EbsSnapshotPreservation
aws-java-sdk-guardduty/src/main/java/com/amazonaws/services/guardduty/model/UpdateMalwareScanSettingsRequest.java