public AccessPolicySummary withPermission(Permission permission) {
        this.permission = permission.toString();
        return this;
    }
<p>
The permissions for the access policy. Note that a project <code>ADMINISTRATOR</code> is also known as a project
owner.
</p>

@param permission
       The permissions for the access policy. Note that a project <code>ADMINISTRATOR</code> is also known as a
       project owner.
@return Returns a reference to this object so that method calls can be chained together.
@see Permission
aws-java-sdk-iotsitewise/src/main/java/com/amazonaws/services/iotsitewise/model/AccessPolicySummary.java