public ListSnapshotsInRecycleBinResult withSnapshots(SnapshotRecycleBinInfo... snapshots) {
        if (this.snapshots == null) {
            setSnapshots(new com.amazonaws.internal.SdkInternalList<SnapshotRecycleBinInfo>(snapshots.length));
        }
        for (SnapshotRecycleBinInfo ele : snapshots) {
            this.snapshots.add(ele);
        }
        return this;
    }
<p>
Information about the snapshots.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setSnapshots(java.util.Collection)} or {@link #withSnapshots(java.util.Collection)} if you want to
override the existing values.
</p>

@param snapshots
       Information about the 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/ListSnapshotsInRecycleBinResult.java