public void setRole(String role) {
        this.role = role;
    }
<p>
The Amazon QuickSight role for the user. The user role can be one of the following:.
</p>
<ul>
<li>
<p>
<code>READER</code>: A user who has read-only access to dashboards.
</p>
</li>
<li>
<p>
<code>AUTHOR</code>: A user who can create data sources, datasets, analyses, and dashboards.
</p>
</li>
<li>
<p>
<code>ADMIN</code>: A user who is an author, who can also manage Amazon Amazon QuickSight settings.
</p>
</li>
<li>
<p>
<code>READER_PRO</code>: Reader Pro adds Generative BI capabilities to the Reader role. Reader Pros have access
to Amazon Q in Amazon QuickSight, can build stories with Amazon Q, and can generate executive summaries from
dashboards.
</p>
</li>
<li>
<p>
<code>AUTHOR_PRO</code>: Author Pro adds Generative BI capabilities to the Author role. Author Pros can author
dashboards with natural language with Amazon Q, build stories with Amazon Q, create Topics for Q&amp;A, and
generate executive summaries from dashboards.
</p>
</li>
<li>
<p>
<code>ADMIN_PRO</code>: Admin Pros are Author Pros who can also manage Amazon QuickSight administrative settings.
Admin Pro users are billed at Author Pro pricing.
</p>
</li>
<li>
<p>
<code>RESTRICTED_READER</code>: This role isn't currently available for use.
</p>
</li>
<li>
<p>
<code>RESTRICTED_AUTHOR</code>: This role isn't currently available for use.
</p>
</li>
</ul>

@param role
       The Amazon QuickSight role for the user. The user role can be one of the following:.</p>
       <ul>
       <li>
       <p>
       <code>READER</code>: A user who has read-only access to dashboards.
       </p>
       </li>
       <li>
       <p>
       <code>AUTHOR</code>: A user who can create data sources, datasets, analyses, and dashboards.
       </p>
       </li>
       <li>
       <p>
       <code>ADMIN</code>: A user who is an author, who can also manage Amazon Amazon QuickSight settings.
       </p>
       </li>
       <li>
       <p>
       <code>READER_PRO</code>: Reader Pro adds Generative BI capabilities to the Reader role. Reader Pros have
       access to Amazon Q in Amazon QuickSight, can build stories with Amazon Q, and can generate executive
       summaries from dashboards.
       </p>
       </li>
       <li>
       <p>
       <code>AUTHOR_PRO</code>: Author Pro adds Generative BI capabilities to the Author role. Author Pros can
       author dashboards with natural language with Amazon Q, build stories with Amazon Q, create Topics for
       Q&amp;A, and generate executive summaries from dashboards.
       </p>
       </li>
       <li>
       <p>
       <code>ADMIN_PRO</code>: Admin Pros are Author Pros who can also manage Amazon QuickSight administrative
       settings. Admin Pro users are billed at Author Pro pricing.
       </p>
       </li>
       <li>
       <p>
       <code>RESTRICTED_READER</code>: This role isn't currently available for use.
       </p>
       </li>
       <li>
       <p>
       <code>RESTRICTED_AUTHOR</code>: This role isn't currently available for use.
       </p>
       </li>
@see UserRole
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/User.java