protected void setBucketRegion(boolean b) {
    regionAttributes.isBucketRegion = b;
  }
Sets the {@code PartitionAttributes} that describe how the region is partitioned among members
of the distributed system. This also establishes a data policy of {@link DataPolicy#PARTITION
PARTITION}, if the data policy has not already been set.

@param partition the {@code PartitionAttributes} that describe how the region is partitioned
       among members of the distributed system

@since GemFire 5.0
geode-core/src/main/java/org/apache/geode/cache/AttributesFactory.java