@Test void withConfigAndMissingLeaseDurationShouldThrowException() { assertRequiredField(defaultConfigBuilder.withLeaseDuration(null).build()); }
public LeaderElector<C> build() { return new LeaderElector<>(client, leaderElectionConfig); }
LeaderElectorBuilder { public LeaderElector<C> build() { return new LeaderElector<>(client, leaderElectionConfig); } }
LeaderElectorBuilder { public LeaderElector<C> build() { return new LeaderElector<>(client, leaderElectionConfig); } LeaderElectorBuilder(C client); }
LeaderElectorBuilder { public LeaderElector<C> build() { return new LeaderElector<>(client, leaderElectionConfig); } LeaderElectorBuilder(C client); LeaderElectorBuilder<C> withConfig(LeaderElectionConfig leaderElectionConfig); LeaderElector<C> build(); }
LeaderElectorBuilder { public LeaderElector<C> build() { return new LeaderElector<>(client, leaderElectionConfig); } LeaderElectorBuilder(C client); LeaderElectorBuilder<C> withConfig(LeaderElectionConfig leaderElectionConfig); LeaderElector<C> build();  }