Class IoK8sApiCoordinationV1beta1LeaseSpec


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiCoordinationV1beta1LeaseSpec
    extends Object
    LeaseSpec is a specification of a Lease.
    • Constructor Detail

      • IoK8sApiCoordinationV1beta1LeaseSpec

        public IoK8sApiCoordinationV1beta1LeaseSpec()
    • Method Detail

      • getAcquireTime

        @Nullable
        public OffsetDateTime getAcquireTime()
        MicroTime is version of Time with microsecond level precision.
        Returns:
        acquireTime
      • setAcquireTime

        public void setAcquireTime​(OffsetDateTime acquireTime)
      • getHolderIdentity

        @Nullable
        public String getHolderIdentity()
        holderIdentity contains the identity of the holder of a current lease.
        Returns:
        holderIdentity
      • setHolderIdentity

        public void setHolderIdentity​(String holderIdentity)
      • getLeaseDurationSeconds

        @Nullable
        public Integer getLeaseDurationSeconds()
        leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it. This is measure against time of last observed RenewTime.
        Returns:
        leaseDurationSeconds
      • setLeaseDurationSeconds

        public void setLeaseDurationSeconds​(Integer leaseDurationSeconds)
      • getLeaseTransitions

        @Nullable
        public Integer getLeaseTransitions()
        leaseTransitions is the number of transitions of a lease between holders.
        Returns:
        leaseTransitions
      • setLeaseTransitions

        public void setLeaseTransitions​(Integer leaseTransitions)
      • getRenewTime

        @Nullable
        public OffsetDateTime getRenewTime()
        MicroTime is version of Time with microsecond level precision.
        Returns:
        renewTime
      • setRenewTime

        public void setRenewTime​(OffsetDateTime renewTime)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object