public DecreaseReplicaCountRequest withReplicasToRemove(java.util.Collection<String> replicasToRemove) {
        setReplicasToRemove(replicasToRemove);
        return this;
    }
<p>
A list of the node ids to remove from the replication group or node group (shard).
</p>

@param replicasToRemove
       A list of the node ids to remove from the replication group or node group (shard).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-elasticache/src/main/java/com/amazonaws/services/elasticache/model/DecreaseReplicaCountRequest.java