public void setSnapshots(java.util.Collection<SnapshotInfo> snapshots) {
        if (snapshots == null) {
            this.snapshots = null;
            return;
        }

        this.snapshots = new com.amazonaws.internal.SdkInternalList<SnapshotInfo>(snapshots);
    }
<p>
List of snapshots.
</p>

@param snapshots
       List of snapshots.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotsResult.java