public AssetBundleImportJobOverridePermissions withDashboards(AssetBundleImportJobDashboardOverridePermissions... dashboards) {
        if (this.dashboards == null) {
            setDashboards(new java.util.ArrayList<AssetBundleImportJobDashboardOverridePermissions>(dashboards.length));
        }
        for (AssetBundleImportJobDashboardOverridePermissions ele : dashboards) {
            this.dashboards.add(ele);
        }
        return this;
    }
<p>
A list of permissions overrides for any <code>Dashboard</code> resources that are present in the asset bundle
that is imported.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setDashboards(java.util.Collection)} or {@link #withDashboards(java.util.Collection)} if you want to
override the existing values.
</p>

@param dashboards
       A list of permissions overrides for any <code>Dashboard</code> resources that are present in the asset
       bundle that is imported.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/AssetBundleImportJobOverridePermissions.java