public void setManagedEntity(InternalManagedEntity entity) {
    this.entity = entity;
  }
Sets the entity that is configured by this config object. Once the entity is running, the
config object cannot be modified.

@see #checkReadOnly
geode-core/src/main/java/org/apache/geode/admin/internal/ManagedEntityConfigImpl.java