public RegionFactory<K, V> setEntryTimeToLive(ExpirationAttributes timeToLive) {
    attrsFactory.setEntryTimeToLive(timeToLive);
    return this;
  }
Sets the timeToLive expiration attributes for region entries for the next
{@code RegionAttributes} created.

@param timeToLive the timeToLive ExpirationAttributes for entries in this region
@return a reference to this RegionFactory object
@throws IllegalArgumentException if timeToLive is null
@see AttributesFactory#setEntryTimeToLive
geode-core/src/main/java/org/apache/geode/cache/RegionFactory.java