public InstanceSnapshotInfo withFromDiskInfo(DiskInfo... fromDiskInfo) {
        if (this.fromDiskInfo == null) {
            setFromDiskInfo(new java.util.ArrayList<DiskInfo>(fromDiskInfo.length));
        }
        for (DiskInfo ele : fromDiskInfo) {
            this.fromDiskInfo.add(ele);
        }
        return this;
    }
<p>
A list of objects describing the disks that were attached to the source instance.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setFromDiskInfo(java.util.Collection)} or {@link #withFromDiskInfo(java.util.Collection)} if you want to
override the existing values.
</p>

@param fromDiskInfo
       A list of objects describing the disks that were attached to the source instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lightsail/src/main/java/com/amazonaws/services/lightsail/model/InstanceSnapshotInfo.java