Package org.cdk8s.plus24.k8s
Class PodDisruptionBudgetSpec.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus24.k8s.PodDisruptionBudgetSpec.Jsii$Proxy
-
- All Implemented Interfaces:
PodDisruptionBudgetSpec
,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PodDisruptionBudgetSpec
@Stability(Stable) @Internal public static final class PodDisruptionBudgetSpec.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PodDisruptionBudgetSpec
An implementation forPodDisruptionBudgetSpec
-
-
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.PodDisruptionBudgetSpec
PodDisruptionBudgetSpec.Builder, PodDisruptionBudgetSpec.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Jsii$Proxy(PodDisruptionBudgetSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodDisruptionBudgetSpec.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)
IntOrString
getMaxUnavailable()
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e.IntOrString
getMinAvailable()
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e.LabelSelector
getSelector()
Label query over pods whose evictions are managed by the disruption budget.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(PodDisruptionBudgetSpec.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodDisruptionBudgetSpec.Builder
.
-
-
Method Detail
-
getMaxUnavailable
public final IntOrString getMaxUnavailable()
Description copied from interface:PodDisruptionBudgetSpec
An eviction is allowed if at most "maxUnavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".- Specified by:
getMaxUnavailable
in interfacePodDisruptionBudgetSpec
-
getMinAvailable
public final IntOrString getMinAvailable()
Description copied from interface:PodDisruptionBudgetSpec
An eviction is allowed if at least "minAvailable" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".- Specified by:
getMinAvailable
in interfacePodDisruptionBudgetSpec
-
getSelector
public final LabelSelector getSelector()
Description copied from interface:PodDisruptionBudgetSpec
Label query over pods whose evictions are managed by the disruption budget.A null selector will match no pods, while an empty ({}) selector will select all pods within the namespace.
- Specified by:
getSelector
in interfacePodDisruptionBudgetSpec
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJson
in interfacesoftware.amazon.jsii.JsiiSerializable
-
-