Package org.cdk8s.plus24.k8s
Class LeaseSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.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.plus24.k8s.LeaseSpec
LeaseSpec.Builder, LeaseSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(LeaseSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by theLeaseSpec.Builder
.protected
Jsii$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()
boolean
equals(Object o)
Instant
getAcquireTime()
acquireTime is a time when the current lease was acquired.String
getHolderIdentity()
holderIdentity contains the identity of the holder of a current lease.Number
getLeaseDurationSeconds()
leaseDurationSeconds is a duration that candidates for a lease need to wait to force acquire it.Number
getLeaseTransitions()
leaseTransitions is the number of transitions of a lease between holders.Instant
getRenewTime()
renewTime is a time when the current holder of a lease has last updated the lease.int
hashCode()
-
-
-
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:LeaseSpec
acquireTime is a time when the current lease was acquired.- Specified by:
getAcquireTime
in interfaceLeaseSpec
-
getHolderIdentity
public final String getHolderIdentity()
Description copied from interface:LeaseSpec
holderIdentity contains the identity of the holder of a current lease.- Specified by:
getHolderIdentity
in interfaceLeaseSpec
-
getLeaseDurationSeconds
public final Number getLeaseDurationSeconds()
Description copied from interface:LeaseSpec
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.
- Specified by:
getLeaseDurationSeconds
in interfaceLeaseSpec
-
getLeaseTransitions
public final Number getLeaseTransitions()
Description copied from interface:LeaseSpec
leaseTransitions is the number of transitions of a lease between holders.- Specified by:
getLeaseTransitions
in interfaceLeaseSpec
-
getRenewTime
public final Instant getRenewTime()
Description copied from interface:LeaseSpec
renewTime is a time when the current holder of a lease has last updated the lease.- Specified by:
getRenewTime
in interfaceLeaseSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-