Package org.cdk8s.plus25.k8s
Class LeaseSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.LeaseSpec.Jsii$Proxy
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class software.amazon.jsii.JsiiObject
software.amazon.jsii.JsiiObject.InitializationMode
-
Nested classes/interfaces inherited from interface org.cdk8s.plus25.k8s.LeaseSpec
LeaseSpec.Builder, LeaseSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(LeaseSpec.Builder builder)Constructor that initializes the object based on literal property values passed by theLeaseSpec.Builder.protectedJsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)Constructor that initializes the object based on values retrieved from the JsiiObject.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.fasterxml.jackson.databind.JsonNode$jsii$toJson()booleanequals(Object o)InstantgetAcquireTime()acquireTime is a time when the current lease was acquired.StringgetHolderIdentity()holderIdentity contains the identity of the holder of a current lease.NumbergetLeaseDurationSeconds()leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it.NumbergetLeaseTransitions()leaseTransitions is the number of transitions of a lease between holders.InstantgetRenewTime()renewTime is a time when the current holder of a lease has last updated the lease.inthashCode()
-
-
-
Constructor Detail
-
Jsii$Proxy
protected Jsii$Proxy(software.amazon.jsii.JsiiObjectRef objRef)
Constructor that initializes the object based on values retrieved from the JsiiObject.- Parameters:
objRef- Reference to the JSII managed object.
-
Jsii$Proxy
protected Jsii$Proxy(LeaseSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theLeaseSpec.Builder.
-
-
Method Detail
-
getAcquireTime
public final Instant getAcquireTime()
Description copied from interface:LeaseSpecacquireTime is a time when the current lease was acquired.- Specified by:
getAcquireTimein interfaceLeaseSpec
-
getHolderIdentity
public final String getHolderIdentity()
Description copied from interface:LeaseSpecholderIdentity contains the identity of the holder of a current lease.- Specified by:
getHolderIdentityin interfaceLeaseSpec
-
getLeaseDurationSeconds
public final Number getLeaseDurationSeconds()
Description copied from interface:LeaseSpecleaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it.This is measure against time of last observed RenewTime.
- Specified by:
getLeaseDurationSecondsin interfaceLeaseSpec
-
getLeaseTransitions
public final Number getLeaseTransitions()
Description copied from interface:LeaseSpecleaseTransitions is the number of transitions of a lease between holders.- Specified by:
getLeaseTransitionsin interfaceLeaseSpec
-
getRenewTime
public final Instant getRenewTime()
Description copied from interface:LeaseSpecrenewTime is a time when the current holder of a lease has last updated the lease.- Specified by:
getRenewTimein interfaceLeaseSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-