public SetPermissionRequest withLevel(String level) {
        setLevel(level);
        return this;
    }
<p>
The user's permission level, which must be set to one of the following strings. You cannot set your own
permissions level.
</p>
<ul>
<li>
<p>
<code>deny</code>
</p>
</li>
<li>
<p>
<code>show</code>
</p>
</li>
<li>
<p>
<code>deploy</code>
</p>
</li>
<li>
<p>
<code>manage</code>
</p>
</li>
<li>
<p>
<code>iam_only</code>
</p>
</li>
</ul>
<p>
For more information about the permissions associated with these levels, see <a
href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
Permissions</a>.
</p>

@param level
       The user's permission level, which must be set to one of the following strings. You cannot set your own
       permissions level.</p>
       <ul>
       <li>
       <p>
       <code>deny</code>
       </p>
       </li>
       <li>
       <p>
       <code>show</code>
       </p>
       </li>
       <li>
       <p>
       <code>deploy</code>
       </p>
       </li>
       <li>
       <p>
       <code>manage</code>
       </p>
       </li>
       <li>
       <p>
       <code>iam_only</code>
       </p>
       </li>
       </ul>
       <p>
       For more information about the permissions associated with these levels, see <a
       href="https://docs.aws.amazon.com/opsworks/latest/userguide/opsworks-security-users.html">Managing User
       Permissions</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-opsworks/src/main/java/com/amazonaws/services/opsworks/model/SetPermissionRequest.java