Class LeaderElectionConfigFluentImpl<A extends LeaderElectionConfigFluent<A>>
- java.lang.Object
-
- io.fabric8.kubernetes.api.builder.BaseFluent<A>
-
- io.fabric8.kubernetes.client.extended.leaderelection.LeaderElectionConfigFluentImpl<A>
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Fluent<A>
,io.fabric8.kubernetes.api.builder.Visitable<A>
,LeaderElectionConfigFluent<A>
- Direct Known Subclasses:
LeaderElectionConfigBuilder
public class LeaderElectionConfigFluentImpl<A extends LeaderElectionConfigFluent<A>> extends io.fabric8.kubernetes.api.builder.BaseFluent<A> implements LeaderElectionConfigFluent<A>
-
-
Constructor Summary
Constructors Constructor Description LeaderElectionConfigFluentImpl()
LeaderElectionConfigFluentImpl(LeaderElectionConfig instance)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
A
withLeaderCallbacks(LeaderCallbacks leaderCallbacks)
A
withLeaseDuration(Duration leaseDuration)
A
withLock(Lock lock)
A
withName(String name)
A
withNewName(String arg1)
A
withNewName(StringBuffer arg1)
A
withNewName(StringBuilder arg1)
A
withReleaseOnCancel(boolean releaseOnCancel)
A
withRenewDeadline(Duration renewDeadline)
A
withRetryPeriod(Duration retryPeriod)
-
-
-
Constructor Detail
-
LeaderElectionConfigFluentImpl
public LeaderElectionConfigFluentImpl()
-
LeaderElectionConfigFluentImpl
public LeaderElectionConfigFluentImpl(LeaderElectionConfig instance)
-
-
Method Detail
-
getLock
public Lock getLock()
- Specified by:
getLock
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withLock
public A withLock(Lock lock)
- Specified by:
withLock
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
hasLock
public Boolean hasLock()
- Specified by:
hasLock
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
getLeaseDuration
public Duration getLeaseDuration()
- Specified by:
getLeaseDuration
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withLeaseDuration
public A withLeaseDuration(Duration leaseDuration)
- Specified by:
withLeaseDuration
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
hasLeaseDuration
public Boolean hasLeaseDuration()
- Specified by:
hasLeaseDuration
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
getRenewDeadline
public Duration getRenewDeadline()
- Specified by:
getRenewDeadline
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withRenewDeadline
public A withRenewDeadline(Duration renewDeadline)
- Specified by:
withRenewDeadline
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
hasRenewDeadline
public Boolean hasRenewDeadline()
- Specified by:
hasRenewDeadline
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
getRetryPeriod
public Duration getRetryPeriod()
- Specified by:
getRetryPeriod
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withRetryPeriod
public A withRetryPeriod(Duration retryPeriod)
- Specified by:
withRetryPeriod
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
hasRetryPeriod
public Boolean hasRetryPeriod()
- Specified by:
hasRetryPeriod
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
getLeaderCallbacks
public LeaderCallbacks getLeaderCallbacks()
- Specified by:
getLeaderCallbacks
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withLeaderCallbacks
public A withLeaderCallbacks(LeaderCallbacks leaderCallbacks)
- Specified by:
withLeaderCallbacks
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
hasLeaderCallbacks
public Boolean hasLeaderCallbacks()
- Specified by:
hasLeaderCallbacks
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
isReleaseOnCancel
public boolean isReleaseOnCancel()
- Specified by:
isReleaseOnCancel
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withReleaseOnCancel
public A withReleaseOnCancel(boolean releaseOnCancel)
- Specified by:
withReleaseOnCancel
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
hasReleaseOnCancel
public Boolean hasReleaseOnCancel()
- Specified by:
hasReleaseOnCancel
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
getName
public String getName()
- Specified by:
getName
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withName
public A withName(String name)
- Specified by:
withName
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
hasName
public Boolean hasName()
- Specified by:
hasName
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withNewName
public A withNewName(String arg1)
- Specified by:
withNewName
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withNewName
public A withNewName(StringBuilder arg1)
- Specified by:
withNewName
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
withNewName
public A withNewName(StringBuffer arg1)
- Specified by:
withNewName
in interfaceLeaderElectionConfigFluent<A extends LeaderElectionConfigFluent<A>>
-
-