public class V1LeaseSpecFluentImpl<A extends V1LeaseSpecFluent<A>> extends BaseFluent<A> implements V1LeaseSpecFluent<A>
_visitables
Constructor and Description |
---|
V1LeaseSpecFluentImpl() |
V1LeaseSpecFluentImpl(V1LeaseSpec instance) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
OffsetDateTime |
getAcquireTime() |
String |
getHolderIdentity() |
Integer |
getLeaseDurationSeconds() |
Integer |
getLeaseTransitions() |
OffsetDateTime |
getRenewTime() |
Boolean |
hasAcquireTime() |
int |
hashCode() |
Boolean |
hasHolderIdentity() |
Boolean |
hasLeaseDurationSeconds() |
Boolean |
hasLeaseTransitions() |
Boolean |
hasRenewTime() |
A |
withAcquireTime(OffsetDateTime acquireTime) |
A |
withHolderIdentity(String holderIdentity) |
A |
withLeaseDurationSeconds(Integer leaseDurationSeconds) |
A |
withLeaseTransitions(Integer leaseTransitions) |
A |
withNewHolderIdentity(String arg1) |
A |
withNewHolderIdentity(StringBuffer arg1) |
A |
withNewHolderIdentity(StringBuilder arg1) |
A |
withRenewTime(OffsetDateTime renewTime) |
public V1LeaseSpecFluentImpl()
public V1LeaseSpecFluentImpl(V1LeaseSpec instance)
public OffsetDateTime getAcquireTime()
getAcquireTime
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withAcquireTime(OffsetDateTime acquireTime)
withAcquireTime
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public Boolean hasAcquireTime()
hasAcquireTime
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public String getHolderIdentity()
getHolderIdentity
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withHolderIdentity(String holderIdentity)
withHolderIdentity
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public Boolean hasHolderIdentity()
hasHolderIdentity
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withNewHolderIdentity(String arg1)
withNewHolderIdentity
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withNewHolderIdentity(StringBuilder arg1)
withNewHolderIdentity
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withNewHolderIdentity(StringBuffer arg1)
withNewHolderIdentity
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public Integer getLeaseDurationSeconds()
getLeaseDurationSeconds
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withLeaseDurationSeconds(Integer leaseDurationSeconds)
withLeaseDurationSeconds
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public Boolean hasLeaseDurationSeconds()
hasLeaseDurationSeconds
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public Integer getLeaseTransitions()
getLeaseTransitions
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withLeaseTransitions(Integer leaseTransitions)
withLeaseTransitions
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public Boolean hasLeaseTransitions()
hasLeaseTransitions
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public OffsetDateTime getRenewTime()
getRenewTime
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public A withRenewTime(OffsetDateTime renewTime)
withRenewTime
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
public Boolean hasRenewTime()
hasRenewTime
in interface V1LeaseSpecFluent<A extends V1LeaseSpecFluent<A>>
Copyright © 2021. All rights reserved.