@Override
  public void fromData(DataInput in) throws IOException, ClassNotFoundException {
    interestPolicy = InterestPolicy.fromOrdinal(in.readByte());
  }
Returns a string representation of the object.

@return a string representation of the object
geode-core/src/main/java/org/apache/geode/cache/SubscriptionAttributes.java