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) |
public 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 A withNewName(StringBuilder arg1)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(int[] arg1, int arg2, int arg3)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(char[] arg1)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(StringBuffer arg1)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(byte[] arg1, int arg2)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(byte[] arg1)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(char[] arg1, int arg2, int arg3)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(byte[] arg1, int arg2, int arg3)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(byte[] arg1, int arg2, int arg3, int arg4)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
public A withNewName(String arg1)
withNewName
in interface LeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
Copyright © 2015–2021 Red Hat. All rights reserved.