public int getRedundantCopies() {
    return redundantCopies;
  }
This is getter method for redundancy.

@return redundancy for this PartitionedRegion
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegion.java