public void setPermission(PermissionEntity permission) {
    this.permission = permission;
  }
Set the permission entity.

@param permission  the permission entity
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PrivilegeEntity.java