public class LeaderElectionConfigFluentImpl<A extends LeaderElectionConfigFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements LeaderElectionConfigFluent<A>
| Constructor and Description |
|---|
LeaderElectionConfigFluentImpl() |
LeaderElectionConfigFluentImpl(LeaderElectionConfig instance) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
LeaderCallbacks |
getLeaderCallbacks() |
Duration |
getLeaseDuration() |
Lock |
getLock() |
String |
getName() |
Duration |
getRenewDeadline() |
Duration |
getRetryPeriod() |
int |
hashCode() |
Boolean |
hasLeaderCallbacks() |
Boolean |
hasLeaseDuration() |
Boolean |
hasLock() |
Boolean |
hasName() |
Boolean |
hasReleaseOnCancel() |
Boolean |
hasRenewDeadline() |
Boolean |
hasRetryPeriod() |
boolean |
isReleaseOnCancel() |
String |
toString() |
A |
withLeaderCallbacks(LeaderCallbacks leaderCallbacks) |
A |
withLeaseDuration(Duration leaseDuration) |
A |
withLock(Lock lock) |
A |
withName(String name) |
A |
withReleaseOnCancel() |
A |
withReleaseOnCancel(boolean releaseOnCancel) |
A |
withRenewDeadline(Duration renewDeadline) |
A |
withRetryPeriod(Duration retryPeriod) |
accept, accept, accept, accept, aggregate, aggregate, build, build, builderOfpublic LeaderElectionConfigFluentImpl()
public LeaderElectionConfigFluentImpl(LeaderElectionConfig instance)
public Lock getLock()
getLock in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public A withLock(Lock lock)
withLock in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Boolean hasLock()
hasLock in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Duration getLeaseDuration()
getLeaseDuration in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public A withLeaseDuration(Duration leaseDuration)
withLeaseDuration in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Boolean hasLeaseDuration()
hasLeaseDuration in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Duration getRenewDeadline()
getRenewDeadline in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public A withRenewDeadline(Duration renewDeadline)
withRenewDeadline in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Boolean hasRenewDeadline()
hasRenewDeadline in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Duration getRetryPeriod()
getRetryPeriod in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public A withRetryPeriod(Duration retryPeriod)
withRetryPeriod in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Boolean hasRetryPeriod()
hasRetryPeriod in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public LeaderCallbacks getLeaderCallbacks()
getLeaderCallbacks in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public A withLeaderCallbacks(LeaderCallbacks leaderCallbacks)
withLeaderCallbacks in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Boolean hasLeaderCallbacks()
hasLeaderCallbacks in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public boolean isReleaseOnCancel()
isReleaseOnCancel in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public A withReleaseOnCancel(boolean releaseOnCancel)
withReleaseOnCancel in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Boolean hasReleaseOnCancel()
hasReleaseOnCancel in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public String getName()
getName in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public A withName(String name)
withName in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public Boolean hasName()
hasName in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>public boolean equals(Object o)
equals in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends LeaderElectionConfigFluent<A>>public int hashCode()
hashCode in class io.fabric8.kubernetes.api.builder.BaseFluent<A extends LeaderElectionConfigFluent<A>>public A withReleaseOnCancel()
withReleaseOnCancel in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>Copyright © 2015–2022 Red Hat. All rights reserved.