public String getVolumeId() {
        return this.volumeId;
    }
<p>
The ID of the volume that was used to create the snapshot. Snapshots created by the <a>CopySnapshot</a> action
have an arbitrary volume ID that should not be used for any purpose.
</p>

@return The ID of the volume that was used to create the snapshot. Snapshots created by the <a>CopySnapshot</a>
        action have an arbitrary volume ID that should not be used for any purpose.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/Snapshot.java