public UpdateInstruction withRole(Role role) {
        this.role = role.toString();
        return this;
    }
<p>
The role to add or revoke for the user or the group specified in <code>users</code>.
</p>

@param role
       The role to add or revoke for the user or the group specified in <code>users</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see Role
aws-java-sdk-managedgrafana/src/main/java/com/amazonaws/services/managedgrafana/model/UpdateInstruction.java