class RipInternalRoute extends RipRoute {

  @Override
  public Builder toBuilder() {
    return new Builder()
        .setAdmin(getAdministrativeCost())
        .setMetric(getMetric())
        .setNetwork(getNetwork())
        .setNextHopIp(getNextHopIp())
        .setNonForwarding(getNonForwarding())
        .setNonRouting(getNonRouting())
        .setTag(getTag());
  }

  @JsonCreator public  RipInternalRoute(
      @JsonProperty(PROP_NETWORK) Prefix network,
      @JsonProperty(PROP_NEXT_HOP_IP) Ip nextHopIp,
      @JsonProperty(PROP_ADMINISTRATIVE_COST) int admin,
      @JsonProperty(PROP_METRIC) long metric,
      @JsonProperty(PROP_TAG) long tag);

}