public Ebs withSnapshotId(String snapshotId) {
        setSnapshotId(snapshotId);
        return this;
    }
<p>
The snapshot ID of the volume to use.
</p>
<p>
You must specify either a <code>VolumeSize</code> or a <code>SnapshotId</code>.
</p>

@param snapshotId
       The snapshot ID of the volume to use.</p>
       <p>
       You must specify either a <code>VolumeSize</code> or a <code>SnapshotId</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/Ebs.java