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

        this.snapshots = new java.util.ArrayList<ClusterSnapshotInList>(snapshots);
    }
<p>
A list of snapshots for a specified elastic cluster.
</p>

@param snapshots
       A list of snapshots for a specified elastic cluster.
aws-java-sdk-docdbelastic/src/main/java/com/amazonaws/services/docdbelastic/model/ListClusterSnapshotsResult.java