Class LeaseSpec
- java.lang.Object
-
- com.pulumi.kubernetes.coordination.v1.outputs.LeaseSpec
-
public final class LeaseSpec extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LeaseSpec.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<java.lang.String>
acquireTime()
static LeaseSpec.Builder
builder()
static LeaseSpec.Builder
builder(LeaseSpec defaults)
java.util.Optional<java.lang.String>
holderIdentity()
java.util.Optional<java.lang.Integer>
leaseDurationSeconds()
java.util.Optional<java.lang.Integer>
leaseTransitions()
java.util.Optional<java.lang.String>
renewTime()
-
-
-
Method Detail
-
acquireTime
public java.util.Optional<java.lang.String> acquireTime()
- Returns:
- acquireTime is a time when the current lease was acquired.
-
holderIdentity
public java.util.Optional<java.lang.String> holderIdentity()
- Returns:
- holderIdentity contains the identity of the holder of a current lease.
-
leaseDurationSeconds
public java.util.Optional<java.lang.Integer> leaseDurationSeconds()
- Returns:
- 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.
-
leaseTransitions
public java.util.Optional<java.lang.Integer> leaseTransitions()
- Returns:
- leaseTransitions is the number of transitions of a lease between holders.
-
renewTime
public java.util.Optional<java.lang.String> renewTime()
- Returns:
- renewTime is a time when the current holder of a lease has last updated the lease.
-
builder
public static LeaseSpec.Builder builder()
-
builder
public static LeaseSpec.Builder builder(LeaseSpec defaults)
-
-