public ClusterDbRevision withRevisionTargets(RevisionTarget... revisionTargets) {
        if (this.revisionTargets == null) {
            setRevisionTargets(new com.amazonaws.internal.SdkInternalList<RevisionTarget>(revisionTargets.length));
        }
        for (RevisionTarget ele : revisionTargets) {
            this.revisionTargets.add(ele);
        }
        return this;
    }
<p>
A list of <code>RevisionTarget</code> objects, where each object describes the database revision that a cluster
can be updated to.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRevisionTargets(java.util.Collection)} or {@link #withRevisionTargets(java.util.Collection)} if you
want to override the existing values.
</p>

@param revisionTargets
       A list of <code>RevisionTarget</code> objects, where each object describes the database revision that a
       cluster can be updated to.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshift/src/main/java/com/amazonaws/services/redshift/model/ClusterDbRevision.java