public DeleteSnapshotResult withSnapshot(Snapshot snapshot) {
        setSnapshot(snapshot);
        return this;
    }
<p>
The snapshot object that has been deleted.
</p>

@param snapshot
       The snapshot object that has been deleted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/DeleteSnapshotResult.java