Snapshot.getSnapshotId

Returns the snapshot id which is a unique identifier generated automatically and cannot be changed.

Further documentation.

returns java.lang.String