public RegionFactory<K, V> setScope(Scope scopeType) {
    attrsFactory.setScope(scopeType);
    return this;
  }
Sets the scope for the next {@code RegionAttributes} created.

@param scopeType the type of Scope to use for the region
@return a reference to this RegionFactory object
@throws IllegalArgumentException if scopeType is null
@see AttributesFactory#setScope
geode-core/src/main/java/org/apache/geode/cache/RegionFactory.java