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

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