public void setSnapshotId(String snapshotId) {
        this.snapshotId = snapshotId;
    }
<p>
The ID of the snapshot containing the block from which to get data.
</p>
<important>
<p>
If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to encrypt the
snapshot. For more information, see <a
href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html"> Using encryption</a> in
the <i>Amazon Elastic Compute Cloud User Guide</i>.
</p>
</important>

@param snapshotId
       The ID of the snapshot containing the block from which to get data.</p> <important>
       <p>
       If the specified snapshot is encrypted, you must have permission to use the KMS key that was used to
       encrypt the snapshot. For more information, see <a
       href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ebsapis-using-encryption.html"> Using
       encryption</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.
       </p>
aws-java-sdk-ebs/src/main/java/com/amazonaws/services/ebs/model/GetSnapshotBlockRequest.java