public CreateSnapshotsResult withSnapshots(java.util.Collection<SnapshotInfo> snapshots) {
        setSnapshots(snapshots);
        return this;
    }
<p>
List of snapshots.
</p>

@param snapshots
       List of snapshots.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/CreateSnapshotsResult.java