public static FixedPartitionAttributes createFixedPartition(String name, boolean isPrimary,
      int numBuckets) {
    return new FixedPartitionAttributesImpl().setPartitionName(name).isPrimary(isPrimary)
        .setNumBuckets(numBuckets);
  }
Creates an instance of <code>FixedPartitionAttributes</code>.

@param name Name of the fixed partition.
@param isPrimary True if this member is the primary for the partition.
@param numBuckets Number of buckets allowed for the partition.
@return an instance of <code>FixedPartitionAttributes</code>
geode-core/src/main/java/org/apache/geode/cache/FixedPartitionAttributes.java