public CreateWorkspaceApiKeyRequest withKeyRole(String keyRole) {
        setKeyRole(keyRole);
        return this;
    }
<p>
Specifies the permission level of the key.
</p>
<p>
Valid values: <code>ADMIN</code>|<code>EDITOR</code>|<code>VIEWER</code>
</p>

@param keyRole
       Specifies the permission level of the key.</p>
       <p>
       Valid values: <code>ADMIN</code>|<code>EDITOR</code>|<code>VIEWER</code>
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/CreateWorkspaceApiKeyRequest.java