@SuppressWarnings("unchecked")
  public PartitionAttributes<K, V> create() {
    partitionAttributes.validateAttributes();
    // defaults are set in the PartitionedRegion when the attributes are applied
    return (PartitionAttributes<K, V>) partitionAttributes.clone();
  }
Creates a <code>PartitionAttributes</code> with the current settings.

@return the newly created <code>PartitionAttributes</code>
@throws IllegalStateException if the current settings violate the
        <a href="#compatibility">compatibility rules </a>
geode-core/src/main/java/org/apache/geode/cache/PartitionAttributesFactory.java