public ScopeDetails withRedshiftDataShares(RedshiftDataShareDetails... redshiftDataShares) {
        if (this.redshiftDataShares == null) {
            setRedshiftDataShares(new java.util.ArrayList<RedshiftDataShareDetails>(redshiftDataShares.length));
        }
        for (RedshiftDataShareDetails ele : redshiftDataShares) {
            this.redshiftDataShares.add(ele);
        }
        return this;
    }
<p>
Underlying Redshift resources that will be affected by this notification.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setRedshiftDataShares(java.util.Collection)} or {@link #withRedshiftDataShares(java.util.Collection)} if
you want to override the existing values.
</p>

@param redshiftDataShares
       Underlying Redshift resources that will be affected by this notification.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-dataexchange/src/main/java/com/amazonaws/services/dataexchange/model/ScopeDetails.java