public void setSnapshotId(String snapshotId) {
        this.snapshotId = snapshotId;
    }
<p>
The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
</p>

@param snapshotId
       The snapshot from which to create the volume. You must specify either a snapshot ID or a volume size.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateVolumeRequest.java