Package org.cdk8s.plus25.k8s
Class PodFailurePolicyRule.Jsii$Proxy
- java.lang.Object
-
- software.amazon.jsii.JsiiObject
-
- org.cdk8s.plus25.k8s.PodFailurePolicyRule.Jsii$Proxy
-
- All Implemented Interfaces:
PodFailurePolicyRule,software.amazon.jsii.JsiiSerializable
- Enclosing interface:
- PodFailurePolicyRule
@Stability(Stable) @Internal public static final class PodFailurePolicyRule.Jsii$Proxy extends software.amazon.jsii.JsiiObject implements PodFailurePolicyRule
An implementation forPodFailurePolicyRule
-
-
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.PodFailurePolicyRule
PodFailurePolicyRule.Builder, PodFailurePolicyRule.Jsii$Proxy
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedJsii$Proxy(PodFailurePolicyRule.Builder builder)Constructor that initializes the object based on literal property values passed by thePodFailurePolicyRule.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)StringgetAction()Specifies the action taken on a pod failure when the requirements are satisfied.PodFailurePolicyOnExitCodesRequirementgetOnExitCodes()Represents the requirement on the container exit codes.List<PodFailurePolicyOnPodConditionsPattern>getOnPodConditions()Represents the requirement on the pod conditions.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(PodFailurePolicyRule.Builder builder)
Constructor that initializes the object based on literal property values passed by thePodFailurePolicyRule.Builder.
-
-
Method Detail
-
getAction
public final String getAction()
Description copied from interface:PodFailurePolicyRuleSpecifies the action taken on a pod failure when the requirements are satisfied.Possible values are: - FailJob: indicates that the pod's job is marked as Failed and all running pods are terminated.
- Ignore: indicates that the counter towards the .backoffLimit is not incremented and a replacement pod is created.
- Count: indicates that the pod is handled in the default way - the counter towards the .backoffLimit is incremented. Additional values are considered to be added in the future. Clients should react to an unknown action by skipping the rule.
- Specified by:
getActionin interfacePodFailurePolicyRule
-
getOnPodConditions
public final List<PodFailurePolicyOnPodConditionsPattern> getOnPodConditions()
Description copied from interface:PodFailurePolicyRuleRepresents the requirement on the pod conditions.The requirement is represented as a list of pod condition patterns. The requirement is satisfied if at least one pattern matches an actual pod condition. At most 20 elements are allowed.
- Specified by:
getOnPodConditionsin interfacePodFailurePolicyRule
-
getOnExitCodes
public final PodFailurePolicyOnExitCodesRequirement getOnExitCodes()
Description copied from interface:PodFailurePolicyRuleRepresents the requirement on the container exit codes.- Specified by:
getOnExitCodesin interfacePodFailurePolicyRule
-
$jsii$toJson
@Internal public com.fasterxml.jackson.databind.JsonNode $jsii$toJson()
- Specified by:
$jsii$toJsonin interfacesoftware.amazon.jsii.JsiiSerializable
-
-