'}';
}
public void amend(Integer afterFailures, Long minTimeToWait) {
TakeOfflineConfiguration existing = getTakeOffline();
int newAfterFailures = afterFailures == null ? existing.afterFailures() : afterFailures;
long newMinTieToWait = minTimeToWait == null ? existing.minTimeToWait() : minTimeToWait;
TakeOfflineConfiguration newConfig = new TakeOfflineConfiguration(newAfterFailures, newMinTieToWait);
amend(newConfig);
}
}