public void setPermissionType(String permissionType) {
        this.permissionType = permissionType;
    }
<p>
When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation, you
must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web Services data
sources and notification channels.
</p>
<p>
You must also specify a <code>workspaceRoleArn</code> for a role that you will manage for the workspace to use
when accessing those datasources and notification channels.
</p>
<p>
The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported only in
the Amazon Managed Grafana console, where this value may be set to <code>SERVICE_MANAGED</code>.
</p>
<note>
<p>
Use only the <code>CUSTOMER_MANAGED</code> permission type when creating a workspace with the API, CLI or Amazon
Web Services CloudFormation.
</p>
</note>
<p>
For more information, see <a
href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html">Amazon Managed Grafana
permissions and policies for Amazon Web Services data sources and notification channels</a>.
</p>

@param permissionType
       When creating a workspace through the Amazon Web Services API, CLI or Amazon Web Services CloudFormation,
       you must manage IAM roles and provision the permissions that the workspace needs to use Amazon Web
       Services data sources and notification channels.</p>
       <p>
       You must also specify a <code>workspaceRoleArn</code> for a role that you will manage for the workspace to
       use when accessing those datasources and notification channels.
       </p>
       <p>
       The ability for Amazon Managed Grafana to create and update IAM roles on behalf of the user is supported
       only in the Amazon Managed Grafana console, where this value may be set to <code>SERVICE_MANAGED</code>.
       </p>
       <note>
       <p>
       Use only the <code>CUSTOMER_MANAGED</code> permission type when creating a workspace with the API, CLI or
       Amazon Web Services CloudFormation.
       </p>
       </note>
       <p>
       For more information, see <a
       href="https://docs.aws.amazon.com/grafana/latest/userguide/AMG-manage-permissions.html">Amazon Managed
       Grafana permissions and policies for Amazon Web Services data sources and notification channels</a>.
@see PermissionType
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/CreateWorkspaceRequest.java