public void setNumReplicasPerShard(Integer numReplicasPerShard) {
        this.numReplicasPerShard = numReplicasPerShard;
    }
<p>
The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
</p>

@param numReplicasPerShard
       The number of replicas to apply to each shard. The default value is 1. The maximum is 5.
aws-java-sdk-memorydb/src/main/java/com/amazonaws/services/memorydb/model/CreateClusterRequest.java